Skip to content

Commit

Permalink
feat: 修改ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chaxus committed Dec 10, 2022
1 parent 632d841 commit c923141
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@

name: pages-build-site
name: CI
on:
pull_request:
branches: main
jobs:
lint:
if: github.repository == 'chaxus/ran'
timeout-minutes: 10
runs-on: ubuntu-latest
name: "Lint: node-16, ubuntu-latest"
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node_version: [14, 16, 18]
include:
# Active LTS + other OS
- os: macos-latest
node_version: 18
- os: windows-latest
node_version: 18
fail-fast: false
name: "Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}"
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit c923141

Please sign in to comment.