This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
feat: execArgs
#82
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: Main | |
on: | |
push: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
verify: | |
name: Verify | |
uses: ./.github/workflows/reusable-verify.yaml | |
secrets: inherit | |
snapshot: | |
needs: verify | |
name: Snapshot | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Publish snapshots | |
uses: seek-oss/changesets-snapshot@v0 | |
with: | |
pre-publish: pnpm run --recursive --filter './packages/*' release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
changesets: | |
name: Changesets | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Manage changesets | |
uses: changesets/action@v1 | |
with: | |
publish: pnpm release | |
commit: 'chore: publish package(s)' | |
title: 'chore: publish package(s)' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |