diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 48744569..81d79edc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] + node_version: ["20", "22", "24"] # This workflow contains a single job called "build" # The type of runner that the job will run on runs-on: ${{ matrix.os }} @@ -26,14 +27,14 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: cache: "pnpm" - node-version: 20 + node-version: ${{ matrix.node_version }} registry-url: "https://registry.npmjs.org" - name: install dependencies @@ -43,9 +44,9 @@ jobs: run: pnpm build - name: Setup Biome - uses: biomejs/setup-biome@v2 + uses: biomejs/setup-biome@454fa0d884737805f48d7dc236c1761a0ac3cc13 # v2.6.0 with: - version: latest + version: "2.2.4" - name: Run Biome run: biome ci . diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8819a2e8..423c76bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,11 +22,11 @@ jobs: id-token: write pull-requests: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: cache: "pnpm" node-version: 20 @@ -43,7 +43,7 @@ jobs: - name: Create Release Pull Request or Publish id: changesets - uses: changesets/action@v1 + uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3 with: # Note: pnpm install after versioning is necessary to refresh lockfile version: pnpm chgset:version