chore(ci): Migrate release workflow to npm Trusted Publishing with OIDC #60
Workflow file for this run
This file contains hidden or 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: Pr | |
| on: | |
| pull_request: | |
| pull_request_target: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| actions: read | |
| contents: read | |
| jobs: | |
| Check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
| - name: Setup Tooling | |
| uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd | |
| with: | |
| install: true | |
| cache: true | |
| experimental: true | |
| - name: Install Node Modules | |
| uses: ./.github/actions/setup-yarn | |
| - name: lint | |
| run: mise run lint | |
| - name: unit test | |
| run: mise run unittest | |
| - name: build | |
| run: mise run build | |
| - name: integration test | |
| run: mise run integrationtest | |
| - name: docs | |
| run: mise run docs |