Skip to content

新增插件在macos和windows下的冒烟测试 #12

新增插件在macos和windows下的冒烟测试

新增插件在macos和windows下的冒烟测试 #12

Workflow file for this run

name: Smoke Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
smoke-test-macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: "20"
- name: Install Yarn
run: npm install --global yarn
- name: Install Dependencies
run: yarn install
- name: Install Dependencies Media
run: cd media && yarn install
- name: Run Smoke Test
run: npm run test
smoke-test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: "20"
- name: Install Yarn
run: npm install --global yarn
- name: Install Dependencies
run: yarn install
- name: Install Dependencies Media
run: cd media && yarn install
- name: Run Smoke Test
run: npm run test