Skip to content

Update npm-publish.yml #8

Update npm-publish.yml

Update npm-publish.yml #8

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-and-format:
runs-on: ubuntu-latest
strategy:
matrix:
job: ['lint', 'format:check']
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '21'
- name: Install dependencies
run: npm install
- name: Run ${{ matrix.job }}
run: npm run ${{ matrix.job }}