diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a76bdc74..13a01fbc 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 12 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 57362e2e..36f6c866 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,12 +7,10 @@ on: branches: [ main ] jobs: - build: + lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: lint - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 with: node-version: 20 - run: npm install diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0df698a3..50a91753 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,8 +8,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 with: node-version: 20 - run: npm install diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c44cd0ba..5511fe01 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ on: branches: [ main ] jobs: - build: + test: runs-on: ${{ matrix.os }} timeout-minutes: 12 strategy: @@ -16,9 +16,7 @@ jobs: node-version: [16.x, 18.x, 20.x, 21.x] os: [ubuntu-latest, windows-latest] steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/CHANGELOG.md b/CHANGELOG.md index d19d256c..5e0947fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # changelog * 2.6.1 _???.??.2023_ + * [update ci job to use checkout v4](https://github.com/iambumblehead/esmock/pull/279) * [update README to work w/ eslint-plugin-markdown](https://github.com/iambumblehead/esmock/pull/275) * [update eslint](https://github.com/iambumblehead/esmock/pull/276) disallow trailing whitespace * [add typescript example](https://github.com/iambumblehead/esmock/pull/278) to README diff --git a/tests/tests-jest-ts/package.json b/tests/tests-jest-ts/package.json index 7f06f980..40cff77b 100644 --- a/tests/tests-jest-ts/package.json +++ b/tests/tests-jest-ts/package.json @@ -8,7 +8,7 @@ "dependencies": { "ts-node": "^10.9.1", "jest": "^29.6.2", - "jest-light-runner": "0.5.0", + "jest-light-runner": "0.6.0-alpha.1", "run-script-os": "^1.1.6", "esmock": "file:..", "sinon": "file:../node_modules/sinon", diff --git a/tests/tests-jest-ts/tsconfig.json b/tests/tests-jest-ts/tsconfig.json index 817d4890..9849cae1 100644 --- a/tests/tests-jest-ts/tsconfig.json +++ b/tests/tests-jest-ts/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "ts-node/node16/tsconfig.json", + "extends": "./node_modules/@tsconfig/node16/tsconfig.json", "ts-node": { "transpileOnly": true },