chore(deps): update dependency next to v13 [security] - autoclosed #7140
This file contains 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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Testing on ${{matrix.os}} and Node ${{matrix.node_version}} | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
node_version: [16] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node ${{matrix.node_version}} | |
uses: actions/setup-node@master | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Cache pnpm modules | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-pnpm-modules | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('./pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.node_version }}- | |
- name: install pnpm | |
run: npm i pnpm@^8.3.1 -g | |
- name: Cache Jest | |
uses: actions/cache@v3 | |
with: | |
path: .cache/jest | |
key: ${{ runner.os }}-${{matrix.node_version}}-jest-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-${{matrix.node_version}}-jest- | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Check Format | |
run: pnpm pretty:check | |
- name: Test | |
run: pnpm test -- --logHeapUsage | |
- name: Test Integration | |
run: pnpm test:integration | |
- name: Test ESM | |
run: node scripts/test-esm.mjs |