Skip to content

Migrate to yarn v4.1.0 #34

Migrate to yarn v4.1.0

Migrate to yarn v4.1.0 #34

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- synchronize
push:
branches-ignore:
- "*"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "yarn"
- name: Install Dependencies
run: yarn install --frozen-lockfile # optional, --immutable
- name: Run Lint
run: |
yarn lint
- name: Run Build
run: |
yarn build
- name: Run Security Audit
# See https://yarnpkg.com/cli/npm/audit for the changed syntax from `yarn audit` to
# `yarn npm audit`
run: |
yarn npm audit --environment production