chore(deps): update dependency tsup to v7 #89
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: Release package | |
on: | |
push | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'yarn' | |
registry-url: https://registry.npmjs.org/ | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
env: | |
CI: true | |
- name: Build | |
run: yarn build | |
env: | |
CI: true | |
- name: Publish | |
if: startsWith(github.ref, 'refs/tags/') | |
run: echo "//registry.npmjs.org/:_authToken=$NPMJS_ACCESS_TOKEN" > ~/.npmrc && npm publish --access public | |
env: | |
NPMJS_ACCESS_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }} |