Skip to content

build(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 in /web in the npm_and_yarn group across 1 directory #16

build(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 in /web in the npm_and_yarn group across 1 directory

build(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 in /web in the npm_and_yarn group across 1 directory #16

Workflow file for this run

name: JS
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up NodeJS
uses: actions/setup-node@v4
- uses: dominikh/staticcheck-action@v1.3.0
with:
install-go: false
- name: Restore cached dependencies
id: cache-restore
uses: actions/cache@v3
with:
path: ./web/node_modules
key: npm-${{ hashFiles('./src/package-lock.json') }}
- name: Install dependencies
if: steps.cache-restore.outputs.cache-hit != 'true'
run: |
cd web
npm ci - ignore-scripts
- name: Lint
run: |
cd web
npm run lint
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up NodeJS
uses: actions/setup-node@v4
- uses: dominikh/staticcheck-action@v1.3.0
with:
install-go: false
- name: Restore cached dependencies
id: cache-restore
uses: actions/cache@v3
with:
path: ./web/node_modules
key: npm-${{ hashFiles('./src/package-lock.json') }}
- name: Install dependencies
if: steps.cache-restore.outputs.cache-hit != 'true'
run: |
cd web
npm ci - ignore-scripts
- name: Build
run: |
cd web
npm run build