chore(deps-dev): bump publint from 0.2.6 to 0.2.7 #54
Workflow file for this run
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
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
types: [ opened, synchronize, reopened, labeled ] | |
pull_request_review: | |
types: [ submitted ] | |
name: CI | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
packages: write # to publish packages (npm publish) | |
jobs: | |
ci-setup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-bun | |
- uses: ./.github/actions/build | |
- uses: ./.github/actions/prevent-uncommit-changes | |
- run: bun test | |
- run: bun run lint | |
ci-canary-release: | |
runs-on: ubuntu-latest | |
needs: [ci-setup] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-bun | |
- uses: actions/setup-node@v3 | |
with: | |
registry-url: "https://npm.pkg.github.com" | |
- uses: ./.github/actions/cache | |
with: | |
scope: build | |
- run: npm version prerelease --preid=canary.$(git rev-parse --short HEAD) --no-git-tag-version | |
- run: npm publish --tag canary | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} |