diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-25 03:10:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-25 08:10:39 +0000 |
commit | 89994427c7dfb25e7879948061a531f34cb1e9ab (patch) | |
tree | 066ab819ae0eeaa401b5a4e77dc89f45c2989e0c | |
parent | c4b81956ea80a51fb6a52d0a2f516c71840fbd37 (diff) |
Add engines to package.json (#442)
* Add engines to package.json
* Fix spacing
* Replace node version file
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rw-r--r-- | .github/workflows/create-prerelease-on-tag.yml | 2 | ||||
-rw-r--r-- | .github/workflows/playwright.yml | 2 | ||||
-rw-r--r-- | .node-version | 1 | ||||
-rw-r--r-- | package.json | 3 |
5 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14e909f0..4ea950b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version-file: ".node-version" + node-version-file: "package.json" - name: Install dependencies run: npm ci diff --git a/.github/workflows/create-prerelease-on-tag.yml b/.github/workflows/create-prerelease-on-tag.yml index e2758a19..beb3ff63 100644 --- a/.github/workflows/create-prerelease-on-tag.yml +++ b/.github/workflows/create-prerelease-on-tag.yml @@ -20,7 +20,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version-file: ".node-version" + node-version-file: "package.json" - name: Install dependencies run: npm ci diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 9c7bea57..613dffc7 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-node@v4 with: cache: "npm" - node-version-file: ".node-version" + node-version-file: "package.json" - name: Install dependencies run: npm ci diff --git a/.node-version b/.node-version deleted file mode 100644 index 9a2a0e21..00000000 --- a/.node-version +++ /dev/null @@ -1 +0,0 @@ -v20 diff --git a/package.json b/package.json index 412eb188..b9de0673 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "directories": { "test": "test" }, + "engines": { + "node": ">=20.0.0" + }, "type": "module", "scripts": { "build": "node ./dev/bin/build.js", |