Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit b2258b4

Browse files
fix: bump ci/cd versions (#184)
* update workflows * not working as expected... * remove workflow_dispatch * bump node.js versions in ci/cd
1 parent 1eed843 commit b2258b4

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
name: Lint
2-
3-
on: [push, pull_request]
2+
on:
3+
push:
4+
pull_request:
45

56
jobs:
67
eslint:
78
name: Lint
89
runs-on: ubuntu-latest
910
steps:
10-
- uses: actions/checkout@v1
11+
- uses: actions/checkout@v3
1112

12-
- uses: actions/setup-node@v1
13+
- uses: actions/setup-node@v3
1314
with:
14-
node-version: 14.x
15+
node-version: 18.x
1516

1617
- name: npm install, build, and lint
1718
run: |

.github/workflows/node_ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
name: Node.js CI
2-
3-
on: [push]
2+
on:
3+
push:
44

55
jobs:
66
build:
77
runs-on: ubuntu-latest
88

99
strategy:
1010
matrix:
11-
node-version: [10.x, 12.x, 14.x]
11+
node-version: [14.x, 16.x, 18.x]
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

1616
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v1
17+
uses: actions/setup-node@v3
1818
with:
1919
node-version: ${{ matrix.node-version }}
2020

@@ -28,12 +28,12 @@ jobs:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v3
3232

33-
- name: Use Node.js 14.x
34-
uses: actions/setup-node@v1
33+
- name: Use Node.js 18.x
34+
uses: actions/setup-node@v3
3535
with:
36-
node-version: 14.x
36+
node-version: 18.x
3737

3838
- run: npm install
3939
- run: npm run build --if-present

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,24 @@ on:
33
push:
44
branches:
55
- master
6+
67
jobs:
78
release:
89
name: Release
910
runs-on: ubuntu-latest
1011
steps:
1112
- name: Checkout
12-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1314
with:
1415
fetch-depth: 0
1516
- name: Setup Node.js
16-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v3
1718
with:
18-
node-version: 14
19+
node-version: 18
1920
- name: Install dependencies
2021
run: npm ci
2122
- name: Release
2223
env:
2324
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2425
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
25-
run: npx semantic-release
26+
run: npx semantic-release

0 commit comments

Comments
 (0)