Skip to content

set registry to npm and use NODE_AUTH_TOKEN #5

set registry to npm and use NODE_AUTH_TOKEN

set registry to npm and use NODE_AUTH_TOKEN #5

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- name: Release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
run: npm run release