Skip to content

feat: add stale.yml #30

feat: add stale.yml

feat: add stale.yml #30

Workflow file for this run

name: Release
on:
push:
branches:
- main
- dev
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: pnpm i
- name: Run Tests
run: pnpm run lib:test
- name: Install dependencies
run: pnpm run lib:build
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm run lib:release