Skip to content

daka commit

daka commit #404

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
packages:
name: check npm install
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: npm ci
run: npm ci
lint:
name: run lint
runs-on: ubuntu-latest
needs: [packages]
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: npm ci
run: npm ci
- name: lint
run: npm run lint --max-warnings=0
build:
name: run build
runs-on: ubuntu-latest
needs: [packages]
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: npm ci
run: npm ci
- name: build
run: npm run build