Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: reduce the running of ci #5282

Merged
merged 1 commit into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
name: Linter

on: [push, pull_request]
on:
push:
branches:
- "master"
- "v7.0.0"
paths:
- "lib/**"
- "test/**"
- ".github/workflows/linter.yml"
pull_request:
paths:
- "lib/**"
- "test/**"
- ".github/workflows/linter.yml"

permissions:
contents: read
Expand All @@ -13,7 +26,7 @@ jobs:
- name: Use Node.js 14.x
uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: "14.x"
- name: Install Dependencies
run: npm install
- name: Lint
Expand Down
25 changes: 20 additions & 5 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
name: Tester

on: [push, pull_request]
on:
push:
branches:
- "master"
- "v7.0.0"
paths:
- "lib/**"
- "test/**"
- "package.json"
- ".github/workflows/tester.yml"
pull_request:
paths:
- "lib/**"
- "test/**"
- "package.json"
- ".github/workflows/tester.yml"

permissions:
contents: read
Expand All @@ -11,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: ['14.x', '16.x', '18.x']
node-version: ["14.x", "16.x", "18.x"]
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand All @@ -27,13 +42,13 @@ jobs:
CI: true
coverage:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: ['14.x']
node-version: ["14.x"]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
Loading