Skip to content

chore(deps-dev): bump semantic-release from 19.0.5 to 21.0.2 #241

chore(deps-dev): bump semantic-release from 19.0.5 to 21.0.2

chore(deps-dev): bump semantic-release from 19.0.5 to 21.0.2 #241

Workflow file for this run

name: Node.js CI
on:
pull_request:
types: [opened]
push:
jobs:
test:
name: Test on node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12, 14, 16, 17]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run lint
- run: npm test
release:
name: Release
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: npm i
- name: Release
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}