Skip to content

Merge pull request #50 from cmu-delphi/update_ghactions_vers #112

Merge pull request #50 from cmu-delphi/update_ghactions_vers

Merge pull request #50 from cmu-delphi/update_ghactions_vers #112

Workflow file for this run

name: ci
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node2-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node2-
- run: npm ci
- run: npm run lint
- run: npm run build