Skip to content

fix name

fix name #3

Workflow file for this run

name: Release
on:
push:
branches:
- 'main'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: npm install --frozen-lockfile --prefer-offline --ignore-scripts
- name: Build
run: npm run build
- name: Publish package to registry
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}