Skip to content

Delete .github/workflows/npm-publish.yml #3

Delete .github/workflows/npm-publish.yml

Delete .github/workflows/npm-publish.yml #3

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm run lint
test:
runs-on: ${{ matrix.os }}
needs:
- lint
strategy:
matrix:
node-version: ["14", "16", "18"]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm test