Skip to content

chore: Update README.md #6

chore: Update README.md

chore: Update README.md #6

Workflow file for this run

name: Release to NPM Latest
on:
push:
branches:
- main
permissions:
contents: write
id-token: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: 'Setup Tools'
uses: ./.github/actions/setup-tools
- name: Build package
run: pnpm run build
- name: "NPM Identity"
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" >> ~/.npmrc
npm whoami
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: pnpm run shipit