Skip to content

chore(release): 0.0.5 #5

chore(release): 0.0.5

chore(release): 0.0.5 #5

Workflow file for this run

# see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Publish Package to npmjs for GPA
on:
release:
types: [created]
push:
tags:
- 'v*'
jobs:
npm-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.1
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: https://registry.npmjs.com
# cache: 'pnpm'
- run: pnpm install --no-frozen-lockfile
# - run: npm run test
- run: npm run dist
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# - run: npm run
# - run: npm run publish:github # --registry=https://npm.pkg.github.com
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
# - name: GitHub Pages action
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./docs