Release 2.0.0-2 #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 to NPM | |
on: | |
release: | |
types: [created] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
cache: pnpm | |
registry-url: https://registry.npmjs.org | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build Package | |
run: pnpm build | |
# - name: Release Package | |
# run: pnpm release | |
# - name: Publish Package to NPM | |
# run: npm publish | |
# env: | |
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |