Skip to content

Commit

Permalink
Upgraded node to 20 (#10)
Browse files Browse the repository at this point in the history
Upgraded node to use version 20 and upgraded all the dependencies to
latest
  • Loading branch information
Bullrich authored Feb 5, 2024
1 parent 4c697dd commit 7d8f7ff
Show file tree
Hide file tree
Showing 4 changed files with 558 additions and 555 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/javascript-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use node 18
- name: Use node 20
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- uses: c-hive/gha-yarn-cache@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand All @@ -20,10 +20,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use node 18
- name: Use node 20
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- uses: c-hive/gha-yarn-cache@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand All @@ -33,10 +33,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use node 18
- name: Use node 20
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- uses: c-hive/gha-yarn-cache@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18 as Builder
FROM node:20 as Builder

WORKDIR /action

Expand All @@ -10,7 +10,7 @@ COPY . .

RUN yarn run build

FROM node:18-slim
FROM node:20-slim

COPY --from=Builder /action/dist /action

Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"fix": "eslint --fix 'src/**/*'",
"lint": "eslint 'src/**/*'"
},
"engines": {
"node": "^20"
},
"repository": {
"type": "git",
"url": "git+https://github.com/paritytech/up-to-date-action.git"
Expand All @@ -23,15 +26,15 @@
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@octokit/webhooks-types": "^7.3.1"
"@octokit/webhooks-types": "^7.3.2"
},
"devDependencies": {
"@eng-automation/js-style": "^2.3.0",
"@types/jest": "^29.5.5",
"@vercel/ncc": "^0.38.0",
"@types/jest": "^29.5.12",
"@vercel/ncc": "^0.38.1",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.5",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
}
}
Loading

0 comments on commit 7d8f7ff

Please sign in to comment.