Compare commits
2 commits
main
...
release/v1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a3c4c57d2 |
||
|
|
cf2a975ad3 |
6 changed files with 13 additions and 14 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
|
@ -18,9 +18,11 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
- 'release/**/*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
- 'release/**/*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|
@ -37,7 +39,7 @@ jobs:
|
||||||
|
|
||||||
- uses: 'actions/setup-node@v4'
|
- uses: 'actions/setup-node@v4'
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '16.x'
|
||||||
|
|
||||||
- name: 'npm build'
|
- name: 'npm build'
|
||||||
run: 'npm ci && npm run build'
|
run: 'npm ci && npm run build'
|
||||||
|
|
@ -65,7 +67,7 @@ jobs:
|
||||||
|
|
||||||
- uses: 'actions/setup-node@v4'
|
- uses: 'actions/setup-node@v4'
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '16.x'
|
||||||
|
|
||||||
- name: 'npm build'
|
- name: 'npm build'
|
||||||
run: 'npm ci && npm run build'
|
run: 'npm ci && npm run build'
|
||||||
|
|
@ -141,7 +143,7 @@ jobs:
|
||||||
|
|
||||||
- uses: 'actions/setup-node@v4'
|
- uses: 'actions/setup-node@v4'
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '16.x'
|
||||||
|
|
||||||
- name: 'npm build'
|
- name: 'npm build'
|
||||||
run: 'npm ci && npm run build'
|
run: 'npm ci && npm run build'
|
||||||
|
|
@ -216,7 +218,7 @@ jobs:
|
||||||
|
|
||||||
- uses: 'actions/setup-node@v4'
|
- uses: 'actions/setup-node@v4'
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '16.x'
|
||||||
|
|
||||||
- name: 'npm build'
|
- name: 'npm build'
|
||||||
run: 'npm ci && npm run build'
|
run: 'npm ci && npm run build'
|
||||||
|
|
|
||||||
|
|
@ -186,6 +186,6 @@ branding:
|
||||||
color: 'blue'
|
color: 'blue'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'node20'
|
using: 'node16'
|
||||||
main: 'dist/main/index.js'
|
main: 'dist/main/index.js'
|
||||||
post: 'dist/post/index.js'
|
post: 'dist/post/index.js'
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -eEuo pipefail
|
set -eEuxo pipefail
|
||||||
|
|
||||||
#
|
#
|
||||||
# As of Node 20, the --test parameter does not support globbing, and it does not
|
# As of Node 20, the --test parameter does not support globbing, and it does not
|
||||||
|
|
@ -13,7 +13,4 @@ set -eEuo pipefail
|
||||||
# fed to the caller.
|
# fed to the caller.
|
||||||
#
|
#
|
||||||
|
|
||||||
FILES="$(node -e "process.stdout.write(require('node:fs').readdirSync('./', { recursive: true }).filter((e) => {return e.endsWith('.test.ts') && !e.startsWith('node_modules');}).sort().join(' '));")"
|
exec node --require ts-node/register --test ./tests/client/credentials_json_client.test.ts ./tests/client/workload_identity_client.test.ts ./tests/utils.test.ts
|
||||||
|
|
||||||
set -x
|
|
||||||
exec node --require ts-node/register --test-reporter spec --test ${FILES}
|
|
||||||
|
|
|
||||||
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
File diff suppressed because one or more lines are too long
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@google-github-actions/auth",
|
"name": "@google-github-actions/auth",
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@google-github-actions/auth",
|
"name": "@google-github-actions/auth",
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.10.1",
|
"@actions/core": "^1.10.1",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@google-github-actions/auth",
|
"name": "@google-github-actions/auth",
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"description": "Authenticate to Google Cloud using OIDC tokens or JSON service account keys.",
|
"description": "Authenticate to Google Cloud using OIDC tokens or JSON service account keys.",
|
||||||
"main": "dist/main/index.js",
|
"main": "dist/main/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue