Skip to content

rework ci workflows

rework ci workflows #1

Workflow file for this run

name: Build
on:
push:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Clean install
run: npm ci
- name: Checks format and lint
run: npm run fmt:check
- name: Build package
run: npm run build
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: ./dist