Skip to content

Version 2.0.0

Version 2.0.0 #3

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- "main"
tags-ignore:
- "*.*.*"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
needs:
- lint
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test
env:
CI: true
build:
name: Build
runs-on: ubuntu-latest
needs:
- test
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build