Skip to content

Bump @types/node from 16.9.6 to 20.10.3 #745

Bump @types/node from 16.9.6 to 20.10.3

Bump @types/node from 16.9.6 to 20.10.3 #745

Workflow file for this run

name: NodeCI
on: [push]
jobs:
tests:
name: Test on node ${{ matrix.node-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: setup grapgviz
uses: ts-graphviz/setup-graphviz@v1
- name: Install dependencies
run: yarn --frozen-lockfile --ignore-optional
env:
CI: 'true'
- name: Lint
run: yarn lint
env:
CI: 'true'
- name: Test
run: yarn test
env:
CI: 'true'
- name: Build
run: yarn build
env:
CI: 'true'
publish:
name: Publish to NPM
runs-on: ubuntu-latest
needs:
- tests
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: yarn install --frozen-lockfile --ignore-optional
if: contains(github.ref, 'tags/v')
env:
CI: 'true'
- name: Build
run: yarn build
if: contains(github.ref, 'tags/v')
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
if: contains(github.ref, 'tags/v')