Skip to content

Commit

Permalink
Merge pull request #2 from machulav/main
Browse files Browse the repository at this point in the history
node 16 to 20 also other stuff
  • Loading branch information
DevopsGoth authored May 8, 2024
2 parents 6a8bc32 + fcfb31a commit 425b8f9
Show file tree
Hide file tree
Showing 6 changed files with 4,067 additions and 1,160 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
branches:
- main
workflow_dispatch:

name: Package

Expand All @@ -14,12 +15,20 @@ jobs:
uses: actions/checkout@v3
with:
ref: main

- uses: actions/setup-node@v4
with:
node-version: 16 # Node v16 is required for the @vercel/ncc to work. TODO: update the package tool and then update the node version here.

- name: Install packages
run: npm ci

- name: Run linter
run: npm run lint

- name: Package
run: npm run package

- name: Commit
run: |
git config --global user.name "GitHub Actions"
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ outputs:
EC2 Instance Id of the created runner.
The id is used to terminate the EC2 instance when the runner is not needed anymore.
runs:
using: node16
using: node20
main: ./dist/index.js
Loading

0 comments on commit 425b8f9

Please sign in to comment.