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

chore(release): v2.1.1 #33

chore(release): v2.1.1

chore(release): v2.1.1 #33

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
- '!v*-beta*'
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main
- uses: pnpm/[email protected]
with:
version: 7
- 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}}