Update all non major dependencies #2918
This file contains 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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- develop | |
env: | |
NODE_ENV: test | |
API_CLIENT_ID: approved-premises | |
API_CLIENT_SECRET: clientsecret | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version-file: '.node-version' | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'npm' | |
- name: Installing dependencies | |
run: npm install | |
- name: Building source | |
run: npm run build | |
- name: Run tests | |
id: test | |
run: script/test |