Skip to content

fix(ci): fix npm token variable name #8

fix(ci): fix npm token variable name

fix(ci): fix npm token variable name #8

Workflow file for this run

name: release
on:
push:
branches:
- main
permissions: {}
jobs:
release:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: yarn install
- name: Prepare build environment
run: yarn dev:prepare
- name: release
run: yarn release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}