Skip to content

Commit

Permalink
Navigate to proper directory
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewTurk247 committed Jun 5, 2024
1 parent f3be790 commit ae88231
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,24 @@ jobs:
testandcoverage:
name: Test and Coverage
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'npm'
- name: Install Node Dependencies and run the tests
run: cd spezi-invitation-code && npm ci && npm test
env:
CI: TRUE
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Navigate to spezi-invitation-code directory
run: cd spezi-invitation-code

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test
uploadcoveragereport:
name: Upload Coverage Report
needs: [buildandtest, buildandtestuitests]
Expand Down

0 comments on commit ae88231

Please sign in to comment.