Skip to content

chore(release): 1.45.0 #18

chore(release): 1.45.0

chore(release): 1.45.0 #18

Workflow file for this run

---
name: Publish to NPM Registry
env:
HUSKY: 0
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Check Format
run: pnpm format:check
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
- name: Build
run: pnpm build
- name: Publish
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}