Skip to content

Commit

Permalink
ci: update CI workflow, fix failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trongthanh committed Oct 1, 2024
1 parent 0f41b8d commit db43975
Show file tree
Hide file tree
Showing 4 changed files with 870 additions and 825 deletions.
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

22 changes: 13 additions & 9 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

name: Node.js CI

on: [push]
on:
pull_request:
branches:
- main
- dev

jobs:
build:
Expand All @@ -12,14 +16,14 @@ jobs:

strategy:
matrix:
node-version: [10.x, 14.x]
node-version: [18.x, 20.x]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run postinstall --if-present
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run postinstall --if-present
Loading

0 comments on commit db43975

Please sign in to comment.