Skip to content

release

release #192

Workflow file for this run

name: release
on:
workflow_dispatch:
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: release/arrowsquid
fetch-depth: 0
- name: Configure git user
run: |
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'
- name: Install dependencies
run: node common/scripts/install-run-rush.js install
- name: Build project
run: node common/scripts/install-run-rush.js build
- name: Publish npm packages
run: node common/scripts/install-run-rush.js publish --include-all --version-policy npm --target-branch release/arrowsquid --publish --tag latest
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}