This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
chore(deps): update all non-major dependencies (#75) #74
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: '🚀 release' | |
on: | |
push: | |
branches: ['main'] | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
permissions: write-all | |
jobs: | |
release: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- name: '☁️ checkout repository' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: '🛠️ setup pnpm' | |
uses: pnpm/action-setup@v2 | |
- name: '🔧 setup node' | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: '📦 install dependencies' | |
run: pnpm install --frozen-lockfile | |
- name: '🔥 prepare' | |
run: pnpm check | |
- name: '🚀 release' | |
uses: changesets/action@v1 | |
with: | |
title: 'chore: version package' | |
commit: 'chore: version package [skip ci]' | |
version: node .github/changeset-version.cjs | |
publish: pnpm exec changeset publish | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_ENV: 'production' |