Issue/px 334 node and dependencies update #213
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Integration Tests | |
| on: | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.draft == false | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: use cache if package-lock has not changed | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| node_modules | |
| */*/node_modules | |
| key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run integration tests | |
| run: npm run test:integration | |
| env: | |
| INTEGRATION_TEST_API_KEY: ${{secrets.INTEGRATION_TEST_API_KEY}} | |
| INTEGRATION_TEST_CAAS: ${{secrets.INTEGRATION_TEST_CAAS}} | |
| INTEGRATION_TEST_NAVIGATION_SERVICE: ${{secrets.INTEGRATION_TEST_NAVIGATION_SERVICE}} |