mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-08-21 08:29:23 +00:00
feat: switch to node16 (#524)
* feat: switch to node16 * use an updated gcloud version
This commit is contained in:
parent
04141d8a7e
commit
c66a06cb89
4 changed files with 13 additions and 13 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
|
||||
- uses: 'actions/setup-node@v2'
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '16.x'
|
||||
|
||||
- name: 'npm build'
|
||||
run: 'npm ci && npm run build'
|
||||
|
|
|
|||
20
.github/workflows/setup-gcloud-it.yml
vendored
20
.github/workflows/setup-gcloud-it.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: "actions/setup-node@v2"
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "16.x"
|
||||
- id: build
|
||||
name: Build dist
|
||||
run: |-
|
||||
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
- name: setup-gcloud
|
||||
uses: ./
|
||||
with:
|
||||
version: "290.0.1"
|
||||
version: "374.0.0"
|
||||
service_account_key: ${{ secrets.SETUP_GCLOUD_IT_KEY }}
|
||||
|
||||
- name: Integration Tests
|
||||
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: "actions/setup-node@v2"
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "16.x"
|
||||
- name: Build dependency
|
||||
run: |-
|
||||
npm ci
|
||||
|
|
@ -85,7 +85,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: "actions/setup-node@v2"
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "16.x"
|
||||
- id: build
|
||||
name: Build dist
|
||||
run: |-
|
||||
|
|
@ -114,7 +114,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: "actions/setup-node@v2"
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "16.x"
|
||||
|
||||
- id: build
|
||||
name: Build dist
|
||||
|
|
@ -205,7 +205,7 @@ jobs:
|
|||
|
||||
- uses: "actions/setup-node@v2"
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "16.x"
|
||||
|
||||
- name: "npm ci"
|
||||
run: "npm ci"
|
||||
|
|
@ -245,7 +245,7 @@ jobs:
|
|||
|
||||
- uses: "actions/setup-node@v2"
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "16.x"
|
||||
|
||||
- id: build
|
||||
name: Build dist
|
||||
|
|
@ -283,7 +283,7 @@ jobs:
|
|||
|
||||
- uses: "actions/setup-node@v2"
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "16.x"
|
||||
|
||||
- id: build
|
||||
name: Build dist
|
||||
|
|
@ -320,7 +320,7 @@ jobs:
|
|||
|
||||
- uses: "actions/setup-node@v2"
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "16.x"
|
||||
|
||||
- id: "build"
|
||||
name: "Build dist"
|
||||
|
|
@ -360,7 +360,7 @@ jobs:
|
|||
|
||||
- uses: "actions/setup-node@v2"
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "16.x"
|
||||
|
||||
- id: build
|
||||
name: Build dist
|
||||
|
|
|
|||
2
.github/workflows/setup-gcloud.yml
vendored
2
.github/workflows/setup-gcloud.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
|
||||
- uses: 'actions/setup-node@v2'
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '16.x'
|
||||
|
||||
- name: 'npm ci'
|
||||
run: 'npm ci'
|
||||
|
|
|
|||
|
|
@ -80,6 +80,6 @@ inputs:
|
|||
required: false
|
||||
|
||||
runs:
|
||||
using: 'node12'
|
||||
using: 'node16'
|
||||
main: 'dist/main/index.js'
|
||||
post: 'dist/post/index.js'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue