Skip to content

Commit dde5fe1

Browse files
authored
Update deps (#361)
1 parent f1cca8a commit dde5fe1

7 files changed

Lines changed: 356 additions & 375 deletions

File tree

.github/workflows/draft-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
version_strategy: '${{ github.event.inputs.version_strategy }}'
2222
# secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow
2323
secrets:
24-
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'
24+
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

.github/workflows/integration.yml

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -21,36 +21,35 @@ permissions:
2121

2222
jobs:
2323
integration:
24-
if: ${{ contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) || github.repository == github.event.pull_request.head.repo.full_name && github.actor != 'dependabot[bot]' }}
2524
runs-on: 'ubuntu-latest'
2625

2726
steps:
28-
- uses: 'actions/checkout@v4'
29-
30-
- uses: 'actions/setup-node@v4'
31-
with:
32-
node-version: '20.x'
33-
34-
- name: 'npm build'
35-
run: 'npm ci && npm run build'
36-
37-
- uses: 'google-github-actions/auth@v2'
38-
with:
39-
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
40-
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
41-
42-
- name: 'Create files'
43-
run: |-
44-
mkdir -p test
45-
touch test/test1.txt
46-
touch test/test2.txt
47-
48-
- id: 'upload'
49-
name: 'Upload files'
50-
uses: './'
51-
with:
52-
path: './test'
53-
destination: '${{ vars.BUCKET_NAME }}/testprefix'
54-
55-
- name: 'Get output'
56-
run: 'echo "${{ steps.upload.outputs.uploaded }}"'
27+
- uses: 'actions/checkout@v4'
28+
29+
- uses: 'actions/setup-node@v4'
30+
with:
31+
node-version: '20.x'
32+
33+
- name: 'npm build'
34+
run: 'npm ci && npm run build'
35+
36+
- uses: 'google-github-actions/auth@v2'
37+
with:
38+
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
39+
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
40+
41+
- name: 'Create files'
42+
run: |-
43+
mkdir -p test
44+
touch test/test1.txt
45+
touch test/test2.txt
46+
47+
- id: 'upload'
48+
name: 'Upload files'
49+
uses: './'
50+
with:
51+
path: './test'
52+
destination: '${{ vars.BUCKET_NAME }}/testprefix'
53+
54+
- name: 'Get output'
55+
run: 'echo "${{ steps.upload.outputs.uploaded }}"'

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
release:
11-
if: "startsWith(github.event.head_commit.message, 'Release: v')"
11+
if: |-
12+
${{ startsWith(github.event.head_commit.message, 'Release: v') }}
1213
name: 'Release'
1314
uses: 'google-github-actions/.github/.github/workflows/release.yml@v0'

.github/workflows/unit.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -27,37 +27,37 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
os:
30-
- 'ubuntu-latest'
31-
- 'windows-latest'
32-
- 'macos-latest'
30+
- 'ubuntu-latest'
31+
- 'windows-latest'
32+
- 'macos-latest'
3333

3434
steps:
35-
- uses: 'actions/checkout@v4'
36-
37-
- uses: 'actions/setup-node@v4'
38-
with:
39-
node-version: '20.x'
40-
41-
- name: 'npm build'
42-
run: 'npm ci && npm run build'
43-
44-
- name: 'npm lint'
45-
# There's no need to run the linter for each operating system, since it
46-
# will find the same thing 3x and clog up the PR review.
47-
if: ${{ matrix.os == 'ubuntu-latest' }}
48-
run: 'npm run lint'
49-
50-
# Only authenticate if this is a full CI run.
51-
- uses: 'google-github-actions/auth@v2'
52-
with:
53-
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
54-
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
55-
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name && github.actor != 'dependabot[bot]' }}
56-
57-
# The secrets will only be injected in pushes to main or from maintainers.
58-
# If they aren't present, the associated steps are skipped.
59-
- name: 'npm test'
60-
run: 'npm run test'
61-
env:
62-
UPLOAD_CLOUD_STORAGE_TEST_BUCKET: '${{ vars.BUCKET_NAME }}'
63-
UPLOAD_CLOUD_STORAGE_TEST_PROJECT: '${{ vars.PROJECT_ID }}'
35+
- uses: 'actions/checkout@v4'
36+
37+
- uses: 'actions/setup-node@v4'
38+
with:
39+
node-version: '20.12.x' # https://github.com/nodejs/node/issues/53033
40+
41+
- name: 'npm build'
42+
run: 'npm ci && npm run build'
43+
44+
- name: 'npm lint'
45+
# There's no need to run the linter for each operating system, since it
46+
# will find the same thing 3x and clog up the PR review.
47+
if: ${{ matrix.os == 'ubuntu-latest' }}
48+
run: 'npm run lint'
49+
50+
# Only authenticate if this is a full CI run.
51+
- if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}
52+
uses: 'google-github-actions/auth@v2'
53+
with:
54+
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
55+
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
56+
57+
# The secrets will only be injected in pushes to main or from maintainers.
58+
# If they aren't present, the associated steps are skipped.
59+
- name: 'npm test'
60+
run: 'npm run test'
61+
env:
62+
UPLOAD_CLOUD_STORAGE_TEST_BUCKET: '${{ vars.BUCKET_NAME }}'
63+
UPLOAD_CLOUD_STORAGE_TEST_PROJECT: '${{ vars.PROJECT_ID }}'

dist/index.js

Lines changed: 46 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)