Skip to content

Version bump to v2.7.1 #22

Version bump to v2.7.1

Version bump to v2.7.1 #22

Workflow file for this run

name: Create tagged release
on:
push:
tags:
- v*.*.*
jobs:
test:
strategy:
matrix:
os: [ ubuntu-20.04, macos-11, windows-2019 ]
node: [ 18 ]
runs-on: ${{matrix.os}}
steps:
- name: Set up Git repository
uses: actions/checkout@v4.1.1
- name: Set up node
uses: actions/setup-node@v4.0.2
with:
node-version: ${{matrix.node}}
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
- name: Build
run: npm run build:release
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
working-directory: ./test/
run: npm cit
- name: Run window tests
uses: GabrielBB/xvfb-action@v1
with:
working-directory: ./test/window-integration-tests
run: npm cit
deploy:
needs:
- test
strategy:
matrix:
os: [ ubuntu-20.04, macos-11, windows-2019 ]
runs-on: ${{matrix.os}}
steps:
- name: Set up Git repository
uses: actions/checkout@v4.1.1
- name: Set up node
uses: actions/setup-node@v4.0.2
with:
node-version: 18
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
- name: Publish tagged release
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}