Skip to content

Commit

Permalink
chore: 配置 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gxmari007 committed Jan 9, 2024
1 parent 805a593 commit 06f3fa6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: ci

on:
push:
branches:
- '*'

jobs:
ci:
strategy:
matrix:
os: ['ubuntu-latest']
node: [18, 20]

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'

- name: 📦️ Install dependencies
run: pnpm install --forzen-lockfile

0 comments on commit 06f3fa6

Please sign in to comment.