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

Version bump to v2.5.2 #18

Version bump to v2.5.2

Version bump to v2.5.2 #18

Workflow file for this run

name: Create tagged release
on:
push:
tags:
- v*.*.*
jobs:
test:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
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: 16
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-latest'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install and test
run: npm cit
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: 14
- name: Configure Linux environment
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm ci
- name: Publish tagged release
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}