Skip to content

Update format.yml

Update format.yml #68

Workflow file for this run

---
name: main
on:
push:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
node:
- '14'
- '16'
- '18'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
with:
node_version: ${{ matrix.node }}
- name: Test
run: npm test
lint:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
node:
- '14'
- '16'
- '18'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
with:
node_version: ${{ matrix.node }}
- name: Lint
run: npm run lint