JavaScript generic ASN.1 parser (mirror)
at github-104 832 B view raw
1# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node 2# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions 3 4name: Node.js CI 5 6on: [push, pull_request] 7 8jobs: 9 build: 10 11 runs-on: ubuntu-latest 12 13 strategy: 14 matrix: 15 node-version: [ 14.6.0, latest ] 16 17 steps: 18 - uses: actions/checkout@v4 19 - name: Use pnpm 20 uses: pnpm/action-setup@v4 21 with: 22 run_install: false 23 - name: Use Node.js ${{ matrix.node-version }} 24 uses: actions/setup-node@v4 25 with: 26 node-version: ${{ matrix.node-version }} 27 cache: pnpm 28 - run: pnpm install 29 - run: node test all 30 - run: pnpm run lint 31 if: matrix.node-version == 'latest'