Merge pull request #158 from roiLeo/chore/remove/vuex-options #121
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: Deploy package | |
on: | |
workflow_dispatch: | |
inputs: | |
package: | |
description: 'Name of the package to deploy' | |
required: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy | |
steps: | |
- uses: actions/checkout@v3 | |
- run: corepack enable | |
- name: Publish | |
- working-directory: ${{ github.event.inputs.package }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
registry-url: 'https://registry.npmjs.org' | |
- run: pnpm install | |
- run: pnpm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |