Skip to content

Update actions/checkout action to v4 #367

Update actions/checkout action to v4

Update actions/checkout action to v4 #367

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node.js 18.x
uses: actions/[email protected]
with:
node-version: 18.x
- name: Use cached node_modules
uses: actions/[email protected]
with:
path: node_modules
key: nodeModules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
nodeModules-
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test