refactor: remove commet #5
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
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: Test | |
on: | |
push: | |
branches: ['master'] | |
pull_request: | |
branches: ['master'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: development | |
strategy: | |
matrix: | |
node-version: [20.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v4.1.4 | |
- name: Setup pnpm | |
# You may pin to the exact commit or the version. | |
# uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd | |
uses: pnpm/action-setup@v3.0.0 | |
with: | |
# Version of pnpm to install | |
version: latest # optional | |
# Where to store pnpm files | |
# dest: # optional, default is ~/setup-pnpm | |
# If specified, run `pnpm install` | |
run_install: true # optional, default is null | |
- run: pnpm build && pnpm test |