Skip to content

Commit c20b1a0

Browse files
committed
Upgrade all actions to their latest version
1 parent 729c95c commit c20b1a0

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/main.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
name: Lint code
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- name: Use Node.js
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
2424
with:
2525
node-version: lts/*
2626
- name: Get yarn cache directory path
2727
id: yarn-cache-dir-path
2828
run: echo "::set-output name=dir::$(yarn cache dir)"
29-
- uses: actions/cache@v2
29+
- uses: actions/cache@v3
3030
id: yarn-cache
3131
with:
3232
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -42,15 +42,15 @@ jobs:
4242
matrix:
4343
node-version: [lts/*, current]
4444
steps:
45-
- uses: actions/checkout@v2
45+
- uses: actions/checkout@v3
4646
- name: Use Node.js ${{ matrix.node-version }}
47-
uses: actions/setup-node@v1
47+
uses: actions/setup-node@v3
4848
with:
4949
node-version: ${{ matrix.node-version }}
5050
- name: Get yarn cache directory path
5151
id: yarn-cache-dir-path
5252
run: echo "::set-output name=dir::$(yarn cache dir)"
53-
- uses: actions/cache@v2
53+
- uses: actions/cache@v3
5454
id: yarn-cache
5555
with:
5656
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -60,20 +60,20 @@ jobs:
6060
- run: yarn install --frozen-lockfile --prefer-offline
6161
- run: yarn test
6262
- name: Codecov
63-
uses: codecov/codecov-action@v1
63+
uses: codecov/codecov-action@v3
6464
verify-website:
6565
name: Verify website
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@v2
68+
- uses: actions/checkout@v3
6969
- name: Use Node.js
70-
uses: actions/setup-node@v1
70+
uses: actions/setup-node@v3
7171
with:
7272
node-version: lts/*
7373
- name: Get yarn cache directory path
7474
id: yarn-cache-dir-path
7575
run: echo "::set-output name=dir::$(yarn cache dir)"
76-
- uses: actions/cache@v2
76+
- uses: actions/cache@v3
7777
id: yarn-cache
7878
with:
7979
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -94,16 +94,16 @@ jobs:
9494
- verify-website
9595
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
9696
steps:
97-
- uses: actions/checkout@v2
97+
- uses: actions/checkout@v3
9898
- name: Use Node.js
99-
uses: actions/setup-node@v1
99+
uses: actions/setup-node@v3
100100
with:
101101
node-version: lts/*
102102
registry-url: 'https://registry.npmjs.org'
103103
- name: Get yarn cache directory path
104104
id: yarn-cache-dir-path
105105
run: echo "::set-output name=dir::$(yarn cache dir)"
106-
- uses: actions/cache@v2
106+
- uses: actions/cache@v3
107107
id: yarn-cache
108108
with:
109109
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -124,16 +124,16 @@ jobs:
124124
- verify-website
125125
if: github.ref == 'refs/heads/master'
126126
steps:
127-
- uses: actions/checkout@v2
127+
- uses: actions/checkout@v3
128128
- name: Use Node.js
129-
uses: actions/setup-node@v1
129+
uses: actions/setup-node@v3
130130
with:
131131
node-version: lts/*
132132
registry-url: 'https://registry.npmjs.org'
133133
- name: Get yarn cache directory path
134134
id: yarn-cache-dir-path
135135
run: echo "::set-output name=dir::$(yarn cache dir)"
136-
- uses: actions/cache@v2
136+
- uses: actions/cache@v3
137137
id: yarn-cache
138138
with:
139139
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

0 commit comments

Comments
 (0)