Skip to content

feat: 测试

feat: 测试 #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
# vite 需要在node>=12 的环境下执行
# puppeteer 需要在node>=14.1.0 的环境下执行
node-version: '16.x'
- name: Cache
id: cache-dependencies
uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{runner.OS}}-${{hashFiles('**/pnpm-lock.yaml')}}
- name: Installing Dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: pnpm install
- name: Running Lint
run: pnpm build