Skip to content

Commit 578da04

Browse files
committed
Add netlify toml file to try to update to a newer node version for
building
1 parent 95536c1 commit 578da04

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.github/workflows/publish-package.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
runs-on: ubuntu:latest
1111
environment: publish
1212

13-
14-
1513
steps:
1614
- name: Checkout repository
1715
uses: actions/checkout@v4

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ before_script:
1919

2020
script:
2121
- npm install
22+
- echo travis build definition
2223
- npm run build

netlify.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[build]
2+
command = "npm install && npm run build"
3+
publish = "dist"
4+
5+
[test]
6+
command = "npm run test"
7+
8+
[build.environment]
9+
NODE_VERSION = "20"
10+
NPM_FLAGS = "--legacy-peer-deps" # Optional, useful if you run into dependency resolution issues
11+
12+
[[redirects]]
13+
from = "/*"
14+
to = "/index.html"
15+
status = 200

0 commit comments

Comments
 (0)