Skip to content

Commit a5f1bab

Browse files
chore: update github actions versions (#57)
* chore(update-versions): update github actions versions & support node 18 and higher only
1 parent da3a68e commit a5f1bab

File tree

4 files changed

+1474
-1595
lines changed

4 files changed

+1474
-1595
lines changed

.github/workflows/pull_request.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Check Commits
9-
uses: amannn/action-semantic-pull-request@v3.4.0
9+
uses: amannn/action-semantic-pull-request@v5
1010
env:
1111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1212

@@ -15,10 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
- name: Setup Node.js
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
22+
cache: "yarn"
2223
node-version: 18
2324
- name: Install dependencies
2425
run: yarn install --frozen-lockfile

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ jobs:
1818

1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: Setup Node.js
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
25+
cache: "yarn"
2526
node-version: 18
2627
registry-url: "https://registry.npmjs.org"
2728
- name: Install dependencies

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"/README.md",
1010
"/dist"
1111
],
12+
"engines": {
13+
"node": ">=18.0.0"
14+
},
1215
"scripts": {
1316
"build": "tsc",
1417
"clean": "rimraf dist",
@@ -34,7 +37,7 @@
3437
"devDependencies": {
3538
"@commitlint/cli": "^11.0.0",
3639
"@commitlint/config-conventional": "^11.0.0",
37-
"@semantic-release/git": "^9.0.0",
40+
"@semantic-release/git": "^10.0.1",
3841
"@tsconfig/node12": "^1.0.7",
3942
"@types/node": "12",
4043
"@types/pino": "^6.0.0",
@@ -124,4 +127,4 @@
124127
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
125128
}
126129
}
127-
}
130+
}

0 commit comments

Comments
 (0)