Skip to content

Commit

Permalink
chore: update github actions versions (#57)
Browse files Browse the repository at this point in the history
* chore(update-versions): update github actions versions & support node 18 and higher only
  • Loading branch information
acharyakavita authored Aug 12, 2024
1 parent da3a68e commit a5f1bab
Show file tree
Hide file tree
Showing 4 changed files with 1,474 additions and 1,595 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check Commits
uses: amannn/action-semantic-pull-request@v3.4.0
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -15,10 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: 18
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: 18
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"/README.md",
"/dist"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc",
"clean": "rimraf dist",
Expand All @@ -34,7 +37,7 @@
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@semantic-release/git": "^9.0.0",
"@semantic-release/git": "^10.0.1",
"@tsconfig/node12": "^1.0.7",
"@types/node": "12",
"@types/pino": "^6.0.0",
Expand Down Expand Up @@ -124,4 +127,4 @@
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
}
Loading

0 comments on commit a5f1bab

Please sign in to comment.