Bump actions/setup-node from 3 to 4 #117
Workflow file for this run
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: dtool-lookup-webapp-build-and-test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['16', '18'] | |
name: Node ${{ matrix.node-version }} | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
working-directory: ./dtool-lookup-webapp | |
run: npm install | |
- name: Lint | |
working-directory: ./dtool-lookup-webapp | |
run: npm run lint src | |
- name: Build | |
working-directory: ./dtool-lookup-webapp | |
run: npm run build | |
- name: Run tests | |
working-directory: ./dtool-lookup-webapp | |
run: npm run test:unit |