Skip to content

Commit

Permalink
feat: Upgrade to node 20 (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
geofflamrock committed Dec 14, 2023
1 parent 0ebf56b commit fa6ab05
Show file tree
Hide file tree
Showing 6 changed files with 238 additions and 206 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@ jobs:
- uses: actions/checkout@v3
with:
token: ${{ secrets.INTEGRATIONS_FNM_BOT_TOKEN }}

- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: install
run: npm ci

- name: build
run: npm run build

- name: update README
run: |-
MAJOR_VERSION=$(cat package.json \
Expand All @@ -23,6 +31,7 @@ jobs:
| sed 's/[", ]//g' \
| awk -F. '{ print $1 }')
sed -i "s/\(uses: OctopusDeploy\/push-build-information-action@\).*/\1v${MAJOR_VERSION}/g" README.md
- name: commit
run: |-
git config --global user.name "team-integrations-fnm-bot"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Install package dependencies
run: npm install

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ inputs:
description: 'The name or ID of a space within which this command will be executed. If omitted, the default space will be used.'

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit fa6ab05

Please sign in to comment.