Skip to content

ci: run correct npm command in CI workflow #2

ci: run correct npm command in CI workflow

ci: run correct npm command in CI workflow #2

Workflow file for this run

name: CI
on: push
env:
NODE_VERSION: ${{ vars.NODE_VERSION }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- run: npm ci
# Check whether Prettier has errors.
- run: npm run check:prettier
# Check whether build is successful.
- run: npm run build