Skip to content

Commit

Permalink
move build before test in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon McAllister committed Oct 28, 2023
1 parent e6626c7 commit 558b67c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run build
env:
INT_TEST_USERNAME: ${{secrets.INT_TEST_USERNAME}}
INT_TEST_PASSWORD: ${{secrets.INT_TEST_PASSWORD}}
INT_TEST_POOL_ID: ${{secrets.INT_TEST_POOL_ID}}
INT_TEST_CLIENT_ID: ${{secrets.INT_TEST_CLIENT_ID}}
INT_TEST_SECRET_ID: ${{secrets.INT_TEST_SECRET_ID}}
INT_TEST_AWS_REGION: ${{secrets.INT_TEST_AWS_REGION}}
- run: npm run build

github-release:
runs-on: ubuntu-latest
Expand All @@ -52,4 +52,3 @@ jobs:
echo prs: ${{steps.release.outputs.prs}}
outputs:
releases_created: ${{steps.release.outputs.releases_created}}

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
node-version: 18 # remember to update this when support is added/dropped
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run test
env:
INT_TEST_USERNAME: ${{secrets.INT_TEST_USERNAME}}
Expand All @@ -28,4 +29,3 @@ jobs:
INT_TEST_CLIENT_ID: ${{secrets.INT_TEST_CLIENT_ID}}
INT_TEST_SECRET_ID: ${{secrets.INT_TEST_SECRET_ID}}
INT_TEST_AWS_REGION: ${{secrets.INT_TEST_AWS_REGION}}
- run: npm run build
File renamed without changes.
File renamed without changes.

0 comments on commit 558b67c

Please sign in to comment.