Skip to content

Bump the next group with 2 updates (#310) #818

Bump the next group with 2 updates (#310)

Bump the next group with 2 updates (#310) #818

Workflow file for this run

name: Build
on:
push:
branches: [main]
paths-ignore:
- README.md
- CHANGELOG.md
pull_request:
branches: [main]
paths-ignore:
- README.md
- CHANGELOG.md
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Build:
runs-on: ubuntu-latest
name: 🛠️ Build
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Set up pnpm
uses: pnpm/action-setup@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- name: 📥 Download deps
run: pnpm install
- name: 💅 Prettier check
run: pnpm format:check
- name: 🛠️ Build
run: pnpm build
- name: 🔬 Lint
run: pnpm lint
- name: 🧪 Test
run: pnpm test
- name: 📣 Create Release Pull Request or Publish to npm
if: ${{ github.ref == 'refs/heads/main' }}
uses: changesets/action@v1
with:
title: 'chore(release): version packages'
publish: pnpm packages:publish
version: pnpm packages:version
commit: 'chore(release): version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}