Skip to content

Ci: Enable auto-deploy on v* tags and add migration note to README #2

Ci: Enable auto-deploy on v* tags and add migration note to README

Ci: Enable auto-deploy on v* tags and add migration note to README #2

Workflow file for this run

name: node-mac-virtual-display Package
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm build
- run: npm test
publish-gpr:
needs: build
runs-on: macos-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}