Skip to content

Update actions/setup-node action to v3.8.2 #399

Update actions/setup-node action to v3.8.2

Update actions/setup-node action to v3.8.2 #399

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node.js 18.x
uses: actions/setup-node@v3.8.2
with:
node-version: 18.x
- name: Use cached node_modules
uses: actions/cache@v3.0.2
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