Skip to content

Commit

Permalink
Test on dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptSmith committed Oct 10, 2023
1 parent b43dc85 commit d1203d8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ on:
- qa
- prod
jobs:
test:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev'
steps:
- name: Setup api
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: api
- name: Install api dependencies
working-directory: api
run: npm install
- name: Run tests
working-directory: api
run: npm run test
deploy:
runs-on: ubuntu-latest
environment: ${{ github.ref_name }}
Expand Down

0 comments on commit d1203d8

Please sign in to comment.