Updating RRE to build with node 20 #219
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: lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
frontend: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['20', '22'] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Set up Node ${{ matrix.node-version }}.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Check if package-lock.json is up to date | |
run: npx --yes [email protected] | |
- name: Install app dependencies | |
run: npm ci | |
- name: Lint frontend code with ESLint | |
run: npm run lint |