tests.yml (hoppscotch-2.2.1) | : | tests.yml (hoppscotch-3.0.0) | ||
---|---|---|---|---|
skipping to change at line 15 | skipping to change at line 15 | |||
branches: [main] | branches: [main] | |||
pull_request: | pull_request: | |||
branches: [main] | branches: [main] | |||
jobs: | jobs: | |||
build: | build: | |||
runs-on: ubuntu-latest | runs-on: ubuntu-latest | |||
strategy: | strategy: | |||
matrix: | matrix: | |||
node-version: [14.x] | node-version: ["lts/*"] | |||
steps: | steps: | |||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | |||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | |||
- name: Install pnpm | - name: Setup and run pnpm install | |||
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6 | uses: pnpm/action-setup@v2.2.2 | |||
with: | ||||
version: 7 | ||||
run_install: true | ||||
- name: Use Node.js ${{ matrix.node-version }} | - name: Use Node.js ${{ matrix.node-version }} | |||
uses: actions/setup-node@v2 | uses: actions/setup-node@v2 | |||
with: | with: | |||
node-version: ${{ matrix.node-version }} | node-version: ${{ matrix.node-version }} | |||
cache: pnpm | cache: pnpm | |||
- name: Run tests | - name: Run tests | |||
run: pnpm i && pnpm -r test | run: pnpm test | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 6 lines changed or added |