Skip to content

Commit

Permalink
Dont run test on all node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yadav committed Jul 15, 2024
1 parent a960e8e commit e0668e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '20'

- name: Install dependencies for documentation
run: yarn install
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,16 @@ name: CI
on: [push]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.x','20.x']
os: [ubuntu-latest, windows-latest, macOS-latest]

name: Build, lint, and test
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
node-version: '20'

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
Expand Down

0 comments on commit e0668e3

Please sign in to comment.