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

Version bump to 2.0.1 #11

Version bump to 2.0.1

Version bump to 2.0.1 #11

Workflow file for this run

name: Create tagged release
on:
push:
tags:
- v*.*.*
jobs:
test:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
node: [ 16 ]
runs-on: ${{matrix.os}}
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node}}
- name: Install
run: npm ci
- name: Compile
run: npm run compile
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
deploy:
needs:
- test
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- name: Install
run: npm ci
- name: Publish tagged release to npm
run: |
npm whoami
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}