Merge pull request #740 from hogashi/pnpm #2277
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: Node.js CI | |
on: [push, workflow_dispatch] | |
permissions: | |
contents: read | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: pnpm install | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: true | |
- name: build | |
run: pnpm run build | |
- name: test | |
run: pnpm run test | |
env: | |
CI: true | |
# for jest | |
FORCE_COLOR: true |