Skip to content

Commit

Permalink
bump node to 20 (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycoder authored Feb 14, 2024
1 parent 3d0ba0f commit 87b8223
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
root: action/tests
entrypoint: include_exclude.ts
include: include_exclude.ts
- name: Deploy with comma-separated include
uses: ./
with:
project: happy-rat-64
root: action
entrypoint: tests/include_exclude.ts
include: foo,tests/include_exclude.ts,bar
- name: Deploy with comma-separated exclude
uses: ./
with:
Expand All @@ -46,6 +53,16 @@ jobs:
exclude: |
import_bomb1
import_bomb2
- name: Deploy combine include and exclude
uses: ./
with:
project: happy-rat-64
root: action
entrypoint: tests/include_exclude.ts
include: tests
exclude: |
tests/import_bomb1
tests/import_bomb2
- name: Always exclude node_modules directory
uses: ./
with:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ outputs:
description: The URL where the deployment is reachable

runs:
using: node16
using: node20
main: action/index.js
2 changes: 0 additions & 2 deletions action/shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Deno } from "@deno/shim-deno";
import { TransformStream } from "stream/web";
import { FormData, formDataToBlob } from "formdata-polyfill/esm.min.js";
import Blob from "fetch-blob";
import { webcrypto } from "crypto";

function fetch(url, init) {
if (init.body instanceof FormData) {
Expand All @@ -17,4 +16,3 @@ globalThis.Deno = Deno;
globalThis.TransformStream = TransformStream;
globalThis.FormData = FormData;
globalThis.Blob = Blob;
globalThis.crypto = webcrypto;

0 comments on commit 87b8223

Please sign in to comment.