File tree Expand file tree Collapse file tree 1 file changed +15
-18
lines changed
Expand file tree Collapse file tree 1 file changed +15
-18
lines changed Original file line number Diff line number Diff line change 2828 default : false
2929
3030jobs :
31- # test:
32- # runs-on: ubuntu-latest
33- # name: Test
34- # steps:
35- # - uses: actions/checkout@v2
36- # - uses: actions/setup-node@v2
37- # with:
38- # node-version: 18
39- # - uses: bahmutov/npm-install@v1
40- # - run: npm run build --workspace packages/api
41- # - run: npm test --workspace packages/api
42- # env:
43- # PG_REST_URL: ${{secrets.PG_REST_URL}}
44- # PG_REST_JWT: ${{secrets.PG_REST_JWT}}
45- # PG_CONNECTION: ${{secrets.PG_CONNECTION}}
31+ test :
32+ runs-on : ubuntu-latest
33+ name : Test
34+ steps :
35+ - uses : actions/checkout@v2
36+ - uses : actions/setup-node@v2
37+ with :
38+ node-version : 18
39+ - uses : bahmutov/npm-install@v1
40+ - run : npm run build --workspace packages/api
41+ - run : npm test --workspace packages/api
42+ env :
43+ PG_REST_URL : ${{secrets.PG_REST_URL}}
44+ PG_REST_JWT : ${{secrets.PG_REST_JWT}}
45+ PG_CONNECTION : ${{secrets.PG_CONNECTION}}
4646
4747 changelog :
4848 name : Changelog
4949 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
5050 runs-on : ubuntu-latest
51- needs : test
5251 outputs :
5352 releases_created : ${{ steps.tag-release.outputs.releases_created }}
5453 steps :
6665 name : Deploy Staging
6766 if : (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event.inputs.force_deploy_staging
6867 runs-on : ubuntu-latest
69- needs : test
7068 environment :
7169 name : staging
7270 steps :
@@ -105,7 +103,6 @@ jobs:
105103 if : (github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.changelog.outputs.releases_created) || github.event.inputs.force_deploy_production
106104 runs-on : ubuntu-latest
107105 needs :
108- - test
109106 - changelog
110107 environment :
111108 name : production
You can’t perform that action at this time.
0 commit comments