diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 99a5aeb..7ca0656 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,15 +10,13 @@ jobs: env: NODE_ENV: production steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 - - uses: google-github-actions/setup-gcloud@v0 + node-version: 20 + - uses: google-github-actions/setup-gcloud@v2 with: project_id: ${{ secrets.ETCH_DEMO_PROJECT }} - service_account_key: ${{ secrets.GCP_SA_KEY }} - export_default_credentials: true - name: Deploy the app env: ETCH_DEMO_PROJECT: ${{ secrets.ETCH_DEMO_PROJECT }} diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 3b12ed0..cb1337d 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 20 - uses: actions/cache@v2 id: yarn-cache with: @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 20 - uses: actions/cache@v2 id: yarn-cache with: @@ -51,7 +51,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 20 - uses: actions/cache@v2 id: yarn-cache with: diff --git a/.nvmrc b/.nvmrc index 3f430af..9a2a0e2 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +v20 diff --git a/app-template.yaml b/app-template.yaml index 2bd83af..48a20c4 100644 --- a/app-template.yaml +++ b/app-template.yaml @@ -1,4 +1,4 @@ -runtime: nodejs16 +runtime: nodejs20 env_variables: # This is templated so you can replace prior to a deploy diff --git a/package.json b/package.json index 6218862..c5f4bd0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Anvil Etch E-Sign API Example App", "main": "src/server/index.js", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "build": "NODE_ENV=production webpack --mode production",