Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

chore(deps): update dependency @types/node to v16.18.94 #792

chore(deps): update dependency @types/node to v16.18.94

chore(deps): update dependency @types/node to v16.18.94 #792

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12, 14, 15]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install --ignore-scripts
- run: npm run lint
- run: npm run build
- run: npm run test
codecov:
if: github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm install --ignore-scripts
- run: npm run test
- run: npx codecov
publish:
if: startsWith(github.ref, 'refs/tags')
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
registry-url: https://registry.npmjs.org
- run: npm install --ignore-scripts
- run: npm run build
- run: npm publish --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}