fix(include): apply patches on refresh #590
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: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - 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: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install | |
| run: yarn --no-immutable | |
| - name: Build (1) | |
| run: yarn build core | |
| - name: Build (2) | |
| 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 | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24, 26] | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install | |
| run: yarn --no-immutable | |
| - name: Unit Test | |
| run: yarn test:json |