-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(node): switch to node 20 (#961)
* build(node): switch to node 20 * build(node): update build scripts to node 20
- Loading branch information
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ name: Build and deploy | |
on: | ||
# Triggers the workflow on push or pull request events but only for the source branch | ||
push: | ||
branches: [ source ] | ||
branches: [source] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
|
@@ -17,7 +17,7 @@ jobs: | |
build-and-deploy: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
name: Build and deploy | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
|
@@ -27,15 +27,16 @@ jobs: | |
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.9.x' | ||
|
||
- name: Install and Build 🔧 | ||
- name: Install and Build 🔧 | ||
run: | | ||
npm install | ||
npm run build | ||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: master # The branch the action should deploy to. | ||
folder: build # The folder the action should deploy. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v16.14.0 | ||
v20.9.0 |