Drop as Sibling of Empty, Open Folder #2
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 Pre-Release to NPM | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
publish_prerelease: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "20.x" | |
registry-url: "https://registry.npmjs.org" | |
- run: yarn | |
- run: yarn bump prerelease | |
- run: bin/publish --tag next | |
env: | |
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} |