Merge pull request #2 from zhuba-Ahhh/dev #17
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: Pnpm | |
on: | |
push: | |
# master 分支有 push 时触发 | |
branches: [main] | |
jobs: | |
deploy: | |
# 指定虚拟机环境 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7.2.1 | |
- name: Install modules | |
run: pnpm install | |
- name: Jest | |
run: pnpm jest |