release: [email protected] #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Package | |
on: | |
push: | |
tags: | |
- "plugin-*" | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
environment: Release | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Set node version to 16.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
registry-url: https://registry.npmjs.org/ | |
cache: "pnpm" | |
- name: Install deps | |
run: pnpm install | |
env: | |
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1" | |
- name: Publish package | |
run: pnpm run ci-publish ${{ github.ref_name }} | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- uses: ArnaudBarre/github-release@v1 | |
with: | |
path: packages/plugin-react/CHANGELOG.md |