chore: pin package versions to git SHAs in GitHub Actions #7498
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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "2.0.0" | |
| pull_request: | |
| types: [opened, edited, reopened, synchronize] | |
| branches: | |
| - "**" | |
| env: | |
| NODE_OPTIONS: --max_old_space_size=102400 | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Setup node@24 | |
| uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 | |
| with: | |
| node-version: 24 | |
| - name: Install pnpm | |
| run: npm install -g pnpm | |
| - name: Install front-end dependencies | |
| run: pnpm install | |
| - name: Build front-end assets | |
| run: pnpm run build | |
| - name: Test on node@24 | |
| run: pnpm run test | |
| - name: Setup node@20 | |
| uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 | |
| with: | |
| node-version: 20 | |
| - name: Test on node@20 | |
| run: pnpm run test |