Skip to content

Update all npm dependencies (2023-09-20) #1231

Update all npm dependencies (2023-09-20)

Update all npm dependencies (2023-09-20) #1231

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install NPM@7
run: npm i -g npm@7
- name: install libgbm1
run: sudo apt-get install -y libgbm1
- uses: actions/cache@v3
id: npm-cache
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Intall deps
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm run test -- --watch=false
- name: Build
run: npm run build:prod