Chore: Remove max node version restriction #252
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: Node.js CI Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install node, pnpm and packages | |
| uses: aerialops/ci-actions/pnpm-with-cached-modules@main | |
| with: | |
| node_version: 20.x | |
| pnpm_version: 9.3.x | |
| - name: Cache libssl binary | |
| id: libssl-bin | |
| uses: actions/[email protected] | |
| with: | |
| path: libssl1.1_1.1.1w-0+deb11u1_amd64.deb | |
| # We will always download the same file from the url | |
| key: https://debian.mirror.ac.za/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0%2Bdeb11u1_amd64.deb | |
| - name: Download libssl | |
| if: steps.libssl-bin.outputs.cache-hit != 'true' | |
| run: wget https://debian.mirror.ac.za/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0%2Bdeb11u1_amd64.deb | |
| - name: Install libssl | |
| run: sudo dpkg -i libssl1.1_1.1.1w-0+deb11u1_amd64.deb | |
| - run: pnpm run prettier | |
| - run: pnpm run lint | |
| - run: pnpm run typecheck | |
| - run: pnpm audit | |
| - run: pnpm run assert | |
| - run: pnpm run jest | |
| - run: pnpm run build |