Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

chore(release): v2.2.0 #35

chore(release): v2.2.0

chore(release): v2.2.0 #35

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
- '!v*-beta*'
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main
- uses: pnpm/[email protected]
with:
version: 9
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- name: Install deps
run: pnpm install
- name: Builds
run: pnpm build
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - run: pnpm tsx scripts/slack.ts
# env:
# SLACK_NOTIFICATION_URL: ${{secrets.SLACK_NOTIFICATION_URL}}