Skip to content

Commit 8c2bdb2

Browse files
committed
[actions] update workflows
1 parent 730bac9 commit 8c2bdb2

File tree

7 files changed

+13
-19
lines changed

7 files changed

+13
-19
lines changed

.github/workflows/node-18+.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- 8
4040

4141
steps:
42-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@v4
4343
- uses: ljharb/actions/node/install@main
4444
name: 'nvm install ${{ matrix.node-version }} && npm install'
4545
with:
@@ -50,7 +50,7 @@ jobs:
5050
NPM_CONFIG_LEGACY_PEER_DEPS: true
5151
- run: npx ls-engines
5252
- run: npm run unit-test
53-
- uses: codecov/codecov-action@v3
53+
- uses: codecov/codecov-action@v3.1.5
5454

5555
node:
5656
name: 'node 18+'

.github/workflows/node-minors.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
eslint: 5
9595

9696
steps:
97-
- uses: actions/checkout@v3
97+
- uses: actions/checkout@v4
9898
- uses: ljharb/actions/node/install@main
9999
name: 'nvm install ${{ matrix.node-version }} && npm install'
100100
with:
@@ -107,7 +107,7 @@ jobs:
107107
- run: npx ls-engines
108108
if: ${{ matrix.node-version >= 12 }}
109109
- run: npm run unit-test
110-
- uses: codecov/codecov-action@v3
110+
- uses: codecov/codecov-action@v3.1.5
111111

112112
node:
113113
name: 'node 4 - 17'

.github/workflows/node-pretest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
- uses: ljharb/actions/node/install@main
1212
name: 'nvm install lts/* && npm install'
1313
with:
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
- uses: ljharb/actions/node/install@main
2525
name: 'nvm install lts/* && npm install'
2626
with:

.github/workflows/npm-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
outputs:
1616
is-new-version: ${{ steps.cpv.outputs.is-new-version }}
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
with:
2020
ref: ${{ github.event.inputs.tag }}
2121

@@ -103,7 +103,7 @@ jobs:
103103
prod.api.stepsecurity.io:443
104104
registry.npmjs.org:443
105105
106-
- uses: actions/checkout@v3
106+
- uses: actions/checkout@v4
107107
with:
108108
ref: ${{ github.event.inputs.tag }}
109109

.github/workflows/rebase.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ on: [pull_request_target]
44

55
jobs:
66
_:
7-
name: "Automatic Rebase"
8-
9-
runs-on: ubuntu-latest
10-
11-
steps:
12-
- uses: actions/checkout@v3
13-
- uses: ljharb/rebase@master
14-
env:
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7+
uses: ljharb/actions/.github/workflows/rebase.yml@main
8+
secrets:
9+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: echo "current_version=${GITHUB_REF#refs/tags/v}" >> "$GITHUB_OUTPUT"
2727
shell: bash
2828

29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030

3131
- uses: mindsers/changelog-reader-action@v2
3232
id: changelog_reader

.github/workflows/smoke-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: ${{ github.repository == 'jsx-eslint/eslint-plugin-react' || github.event_name == 'workflow_dispatch' }}
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- uses: ljharb/actions/node/install@main
1515
name: 'nvm install lts/* && npm install'
1616
with:

0 commit comments

Comments
 (0)