chore(deps-dev): bump @babel/traverse from 7.20.1 to 7.23.2 #11
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: nodejs-ci-pr | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Setup and use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install pnpm dependencies | |
run: pnpm install | |
- name: Check code formatting (prettier) | |
run: pnpm prettier | |
- name: Check code quality with linter | |
run: pnpm lint | |
- name: Build the Typescript package | |
run: pnpm build | |
- name: Unit Test the package | |
run: pnpm test | |
env: | |
CI: true |