Skip to content

Commit ed2522e

Browse files
Merge pull request #279 from iambumblehead/update-ci-use-checkout-v4
troubleshoot test pipeline, recently failing
2 parents ec04095 + af495a4 commit ed2522e

File tree

7 files changed

+9
-13
lines changed

7 files changed

+9
-13
lines changed

.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 12
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Use Node.js ${{ matrix.node-version }}
1616
uses: actions/setup-node@v3
1717
with:

.github/workflows/lint.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
build:
10+
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
14-
- name: lint
15-
uses: actions/setup-node@v3
13+
- uses: actions/checkout@v4
1614
with:
1715
node-version: 20
1816
- run: npm install

.github/workflows/publish.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- uses: actions/checkout@v4
1312
with:
1413
node-version: 20
1514
- run: npm install

.github/workflows/test.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
build:
10+
test:
1111
runs-on: ${{ matrix.os }}
1212
timeout-minutes: 12
1313
strategy:
@@ -16,9 +16,7 @@ jobs:
1616
node-version: [16.x, 18.x, 20.x, 21.x]
1717
os: [ubuntu-latest, windows-latest]
1818
steps:
19-
- uses: actions/checkout@v3
20-
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
19+
- uses: actions/checkout@v4
2220
with:
2321
node-version: ${{ matrix.node-version }}
2422
- run: npm install

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# changelog
22

33
* 2.6.1 _???.??.2023_
4+
* [update ci job to use checkout v4](https://github.com/iambumblehead/esmock/pull/279)
45
* [update README to work w/ eslint-plugin-markdown](https://github.com/iambumblehead/esmock/pull/275)
56
* [update eslint](https://github.com/iambumblehead/esmock/pull/276) disallow trailing whitespace
67
* [add typescript example](https://github.com/iambumblehead/esmock/pull/278) to README

tests/tests-jest-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dependencies": {
99
"ts-node": "^10.9.1",
1010
"jest": "^29.6.2",
11-
"jest-light-runner": "0.5.0",
11+
"jest-light-runner": "0.6.0-alpha.1",
1212
"run-script-os": "^1.1.6",
1313
"esmock": "file:..",
1414
"sinon": "file:../node_modules/sinon",

tests/tests-jest-ts/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "ts-node/node16/tsconfig.json",
2+
"extends": "./node_modules/@tsconfig/node16/tsconfig.json",
33
"ts-node": {
44
"transpileOnly": true
55
},

0 commit comments

Comments
 (0)