Skip to content

Commit

Permalink
Merge pull request #5 from eLco/nodejs20
Browse files Browse the repository at this point in the history
Bump nodejs version to 20.x
  • Loading branch information
eLco committed Apr 18, 2024
2 parents e613aaa + 9ccbc71 commit f7fb1d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# `dist/index.js` is a special file in Actions.
# When you reference an action with `uses:` in a workflow,
# `index.js` is the code that will run.
Expand All @@ -11,23 +10,23 @@ on:
branches:
- main
paths-ignore:
- '**.md'
- "**.md"
pull_request:
paths-ignore:
- '**.md'
- "**.md"
workflow_dispatch:

jobs:
check-dist:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set Node.js 16.x
uses: actions/setup-node@v2.5.1
- name: Set Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: npm ci
Expand All @@ -42,4 +41,4 @@ jobs:
git diff
exit 1
fi
id: diff
id: diff
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
terragrunt_version: [0.35.8, latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup terragrunt
uses: ./
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
required: false
default: ${{ github.token }}
runs:
using: node16
using: node20
main: dist/index.js
branding:
icon: "terminal"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-terragrunt",
"version": "1.0.2",
"version": "1.0.3",
"description": "Setup Terragrunt CLI for GitHub Actions",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit f7fb1d3

Please sign in to comment.