5151 run : npm run lint
5252
5353 test :
54- name : Test with Node.js ${{ matrix.node-version }} on ${{ matrix.runs-on }}
55- timeout-minutes : 15
5654 strategy :
5755 fail-fast : false
5856 max-parallel : 0
@@ -61,48 +59,15 @@ jobs:
6159 - 18
6260 - 20
6361 - 21
64- runs-on :
62+ runs-on :
6563 - ubuntu-latest
6664 - windows-latest
6765 - macos-latest
68-
69- runs-on : ${{ matrix.runs-on }}
70- steps :
71- - name : Checkout
72- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
73- with :
74- persist-credentials : false
75-
76- - name : Setup Node.js@${{ matrix.node-version }}
77- uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
78- with :
79- node-version : ${{ matrix.node-version }}
80-
81- - name : Print version information
82- run : |
83- echo OS: $(node -p "os.version()")
84- echo Node.js: $(node --version)
85- echo npm: $(npm --version)
86- echo git: $(git --version)
87-
88- - name : Install dependencies
89- run : npm install
90-
91- - name : Print installed dependencies
92- run : npm ls --all
93- continue-on-error : true
94-
95- - name : Run tests
96- run : npm run coverage:ci
97- env :
98- CI : true
99- NODE_V8_COVERAGE : ./coverage/tmp
100-
101- - name : Coverage Report
102- if : matrix.runs-on == 'ubuntu-latest' && matrix.node-version == 20
103- uses : codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0
104- with :
105- token : ${{ secrets.CODECOV_TOKEN }}
66+ uses : ./.github/workflows/test.yml
67+ with :
68+ node-version : ${{ matrix.node-version }}
69+ runs-on : ${{ matrix.runs-on }}
70+ secrets : inherit
10671
10772 test-types :
10873 name : Test TypeScript types
0 commit comments