feat: support uuid #42
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: Build | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v6 | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install | |
| run: yarn --no-immutable | |
| - name: Lint | |
| run: yarn lint | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v6 | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install | |
| run: yarn --no-immutable | |
| - name: Build | |
| run: yarn build | |
| - name: Publish | |
| if: >- | |
| github.event_name == 'push' && | |
| contains(fromJson('["refs/heads/main"]'), github.ref) | |
| run: |- | |
| yarn config set npmPublishProvenance true | |
| yarn config set npmRegistryServer https://registry.npmjs.org/ | |
| yarn yakumo publish --debug |