修复支付宝小程序生成的模板代码中组件名与属性之间缺少空格的问题 (#14818) #59
Workflow file for this run
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 CI | |
on: | |
push: | |
branches: | |
- next | |
- feat/** | |
pull_request: | |
branches: | |
- next | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [14.x, 16.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with : | |
ref : ${{ github.ref || github.head_ref || github.ref_name }} | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# Bootstrap project | |
- name: Cache pnpm modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}- | |
- name: install | |
uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: 7 | |
run_install: | | |
- recursive: true | |
args: [--frozen-lockfile] | |
- name: lint | |
run: pnpm lint | |
- name: build | |
run: pnpm build | |
- name: test | |
run: pnpm test | |
env: | |
CI: true |