Skip to content

Commit a07dfcb

Browse files
Fdawgsljharb
authored andcommittedNov 8, 2022
[actions] update GitHub Actions
1 parent 48e8130 commit a07dfcb

File tree

4 files changed

+9
-21
lines changed

4 files changed

+9
-21
lines changed
 

‎.github/workflows/node-4+.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
eslint: 5
100100

101101
steps:
102-
- uses: actions/checkout@v2
102+
- uses: actions/checkout@v3
103103
- uses: ljharb/actions/node/install@main
104104
continue-on-error: ${{ matrix.eslint == 4 && matrix.node-version == 4 }}
105105
name: 'nvm install ${{ matrix.node-version }} && npm install, with eslint ${{ matrix.eslint }}'
@@ -113,7 +113,7 @@ jobs:
113113
skip-ls-check: true
114114
- run: npm run pretest
115115
- run: npm run tests-only
116-
- uses: codecov/codecov-action@v2
116+
- uses: codecov/codecov-action@v3
117117

118118
node:
119119
name: 'node 4+'

‎.github/workflows/node-pretest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
# runs-on: ubuntu-latest
1111

1212
# steps:
13-
# - uses: actions/checkout@v2
13+
# - uses: actions/checkout@v3
1414
# - uses: ljharb/actions/node/install@main
1515
# name: 'nvm install lts/* && npm install'
1616
# with:
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2626
- uses: ljharb/actions/node/install@main
2727
name: 'nvm install lts/* && npm install'
2828
with:

‎.github/workflows/packages.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# - utils
3939

4040
steps:
41-
- uses: actions/checkout@v2
41+
- uses: actions/checkout@v3
4242
- uses: ljharb/actions/node/install@main
4343
name: 'nvm install ${{ matrix.node-version }} && npm install'
4444
env:
@@ -50,7 +50,7 @@ jobs:
5050
after_install: npm run copy-metafiles && ./tests/dep-time-travel.sh && cd ${{ matrix.package }} && npm install
5151
skip-ls-check: true
5252
- run: cd ${{ matrix.package }} && npm run tests-only
53-
- uses: codecov/codecov-action@v2
53+
- uses: codecov/codecov-action@v3
5454

5555
packages:
5656
name: 'packages: all tests'

‎.github/workflows/rebase.yml

+3-15
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,8 @@ name: Automatic Rebase
22

33
on: [pull_request_target]
44

5-
permissions:
6-
contents: read
7-
85
jobs:
96
_:
10-
permissions:
11-
contents: write # for ljharb/rebase to push code to rebase
12-
pull-requests: read # for ljharb/rebase to get info about PR
13-
name: "Automatic Rebase"
14-
15-
runs-on: ubuntu-latest
16-
17-
steps:
18-
- uses: actions/checkout@v2
19-
- uses: ljharb/rebase@master
20-
env:
21-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7+
uses: ljharb/actions/.github/workflows/rebase.yml@main
8+
secrets:
9+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.