chore: use node 24 #11
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
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| workflow_call: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| name: '🧪 Test' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: browser-actions/setup-chrome@2e1d749697dd1612b833dba4a722266286fbefcd | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| registry-url: https://registry.npmjs.org/ | |
| cache: yarn | |
| - name: ⚙ bootstrap | |
| run: 'npm run bootstrap && npx _check_deps && npx _add_plugin_indexes' | |
| env: | |
| ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | |
| - name: 📐 types | |
| run: npx tsc -b -f | |
| - name: 🔍 lint | |
| run: npx _lint | |
| - name: 🧪 tests | |
| run: npm test | |
| env: | |
| PUPPETEER_EXECUTABLE_PATH: ${{ steps.setup-chrome.outputs.chrome-path }} |