ci: upgrade workflow actions version #318
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: CI | |
on: push | |
jobs: | |
build: | |
name: Lint, Build, Test & Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node 16 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: Cache node modules | |
id: cache-nodemodules | |
uses: actions/[email protected] | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: License check | |
run: npm run license-check | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test |