mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-07-03 07:34:36 +08:00
业务框架数据层静态配置表Json数据生成 + 数据结构对象代码生成插件
This commit is contained in:
42
extensions/oops-plugin-excel-to-json/node_modules/jszip/.github/workflows/pr.yaml
generated
vendored
Normal file
42
extensions/oops-plugin-excel-to-json/node_modules/jszip/.github/workflows/pr.yaml
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
name: pull-request
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 'lts/*'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Cache Node modules
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
# npm cache files are stored in `~/.npm` on Linux/macOS
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: "Install dependencies"
|
||||
run: |
|
||||
npm install
|
||||
sudo npx playwright install-deps
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
- name: Test Node
|
||||
run: npm run test-node
|
||||
- name: Test browsers
|
||||
run: |
|
||||
npm run test-browser
|
||||
Reference in New Issue
Block a user