Skip to content

updated dependencies #2

updated dependencies

updated dependencies #2

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- '*'
pull_request:
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Upgrade Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: NPM install
run: npm ci
- name: Build
run: npm start
- name: Coveralls
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to npm
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}