Skip to content

Commit c158e69

Browse files
authored
Merge pull request #74 from github/chore/pin-ubuntu-runners
ci: pin ubuntu runners to v22
1 parent 954090f commit c158e69

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

.github/workflows/nodejs.yml

+15-16
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,24 @@ name: Node CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
build:
11-
12-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1312

1413
steps:
15-
- uses: actions/checkout@v1
16-
- name: Use Node.js
17-
uses: actions/setup-node@v1
18-
with:
19-
node-version: '20.x'
20-
- name: npm install, build, and test
21-
run: |
22-
npm install
23-
npm run build --if-present
24-
npm test
25-
env:
26-
CI: true
14+
- uses: actions/checkout@v1
15+
- name: Use Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: '20.x'
19+
- name: npm install, build, and test
20+
run: |
21+
npm install
22+
npm run build --if-present
23+
npm test
24+
env:
25+
CI: true

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
publish-npm:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3

0 commit comments

Comments
 (0)