mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
move api pretest to api package.json instead of CI
This commit is contained in:
parent
650691aead
commit
4d231c011e
2 changed files with 2 additions and 4 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -31,9 +31,7 @@ jobs:
|
|||
|
||||
- run: yarn lint
|
||||
|
||||
- run: |
|
||||
yarn build:api
|
||||
yarn test
|
||||
- run: yarn test
|
||||
|
||||
worker_build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"build:dev": "esbuild --bundle --sourcemap --platform=node --format=esm --outdir=dist --out-extension:.js=.mjs ./src/index.ts",
|
||||
"lint:types": "tsc --noEmit",
|
||||
"posttest": "rm .env",
|
||||
"pretest": "cp ../../.env.example .env",
|
||||
"pretest": "cp ../../.env.example .env && yarn build",
|
||||
"start": "miniflare --watch --debug",
|
||||
"test": "jest"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue