Skip to content

feat(update): minor changes #34

feat(update): minor changes

feat(update): minor changes #34

Workflow file for this run

name: main
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['12', '14', '16']
name: Test on node@v${{ matrix.node }}
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v2
- name: Setup πŸ”§
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: 'npm'
- name: Install πŸͺ„
run: npm ci
- name: Lint πŸ”
run: npm run lint
- name: Prettier πŸ”
run: npm run prettycheck
- name: TypeScript πŸ”
run: npm run typecheck
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['12', '14', '16']
name: Build on node@v${{ matrix.node }}
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v2
- name: Setup πŸ”§
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: 'npm'
- name: Install πŸͺ„
run: npm ci
- name: Build πŸ’Ž
run: npm run build