feat: skvm support timer module #347
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: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: LuisEnMarroquin/[email protected] | |
with: | |
SSHKEY: ${{ secrets.CC_GA }} # ----- BEGIN RSA PRIVATE KEY----- ... | |
- run: ssh -T [email protected] || true | |
- run: git submodule update --init --recursive | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Set node version to 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install deps | |
run: pnpm install | |
- name: Lint | |
run: pnpm run --if-present lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: LuisEnMarroquin/[email protected] | |
with: | |
SSHKEY: ${{ secrets.CC_GA }} # ----- BEGIN RSA PRIVATE KEY----- ... | |
- run: ssh -T [email protected] || true | |
- run: git submodule update --init --recursive | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Set node version to 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install deps | |
run: pnpm install | |
- name: build packages | |
run: pnpm run -r build | |
- name: test | |
run: pnpm run test |