Skip to content

Commit a9f9c96

Browse files
committed
cleanup
1 parent 03ae324 commit a9f9c96

File tree

7 files changed

+19
-25
lines changed

7 files changed

+19
-25
lines changed

.github/workflows/check-pkg-paths.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414

1515
name: Test Package Paths
1616

17-
on:
18-
pull_request:
17+
on: pull_request
1918

2019
jobs:
2120
test:

.github/workflows/prerelease-manual-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
with:
4646
path: "**/node_modules"
4747
key: node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
48+
- run: yarn install --frozen-lockfile
4849
- name: Deploy prerelease
4950
run: yarn release custom -p ${{ github.event.inputs.prereleaseName }} -t ${{ github.event.inputs.npmTag }}
5051
env:

.github/workflows/release-log.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ jobs:
2828
- name: Checkout Repo
2929
uses: actions/checkout@v4
3030

31-
- name: Setup Node.js 20.x
32-
uses: actions/setup-node@master
31+
- uses: actions/setup-node@v4
3332
with:
3433
node-version-file: '.nvmrc'
3534

.github/workflows/release-prod.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ jobs:
3232
contents: write
3333

3434
steps:
35-
- uses: actions/setup-node@v4
36-
with:
37-
node-version-file: '.nvmrc'
38-
cache: yarn
39-
cache-dependency-path: yarn.lock
4035
- name: Checkout release branch (with history)
4136
uses: actions/checkout@v4
4237
with:
4338
# Release script requires git history and tags.
4439
fetch-depth: 0
4540
ref: ${{ github.event.inputs.release-branch }}
4641
token: ${{ secrets.OSS_BOT_GITHUB_TOKEN }}
42+
- uses: actions/setup-node@v4
43+
with:
44+
node-version-file: '.nvmrc'
45+
cache: yarn
46+
cache-dependency-path: yarn.lock
4747
- run: yarn install --frozen-lockfile
4848
- name: Publish to NPM
4949
# --skipTests No need to run tests

.github/workflows/release-staging.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ jobs:
4646
# Block this workflow if run on a non-release branch.
4747
if: github.event.inputs.release-branch == 'release' || endsWith(github.event.inputs.release-branch, '-releasebranch')
4848
steps:
49-
- uses: actions/setup-node@v4
50-
with:
51-
node-version-file: '.nvmrc'
52-
cache: yarn
53-
cache-dependency-path: yarn.lock
5449
- name: Merge main into release
5550
uses: actions/github-script@v6
5651
with:
@@ -69,6 +64,11 @@ jobs:
6964
# Release script requires git history and tags.
7065
fetch-depth: 0
7166
ref: ${{ github.event.inputs.release-branch }}
67+
- uses: actions/setup-node@v4
68+
with:
69+
node-version-file: '.nvmrc'
70+
cache: yarn
71+
cache-dependency-path: yarn.lock
7272
- run: yarn install --frozen-lockfile
7373
- name: Publish to NPM
7474
# --skipTests No need to run tests

.github/workflows/release-tweet.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ jobs:
3434
steps:
3535
- name: Checkout Repo
3636
uses: actions/checkout@v4
37-
- name: Setup Node.js 20.x
38-
uses: actions/setup-node@master
37+
- uses: actions/setup-node@v4
3938
with:
4039
node-version-file: '.nvmrc'
4140
- name: Poll release notes page on devsite

.github/workflows/test-all.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414

1515
name: Test All Packages
1616

17-
on:
18-
pull_request:
17+
on: pull_request
1918

2019
env:
2120
# make chromedriver detect installed Chrome version and download the corresponding driver
@@ -90,8 +89,7 @@ jobs:
9089
path: "**/node_modules"
9190
key: node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
9291
- run: yarn install --frozen-lockfile
93-
- name: Test setup
94-
run: cp config/ci.config.json config/project.json
92+
- run: cp config/ci.config.json config/project.json
9593
- name: Set start timestamp env var
9694
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
9795
- name: Run unit tests
@@ -127,7 +125,7 @@ jobs:
127125
echo "::warning ::Previously validated version: ${CHROME_VALIDATED_VERSION} vs. Installed version: $chromeVersionString"
128126
echo "CHROME_VERSION_NOTES=$CHROME_VERSION_MISMATCH_MESSAGE" >> "$GITHUB_ENV"
129127
fi
130-
- name: Test Evn TEMP
128+
- name: Test Env TEMP
131129
run: |
132130
echo $CHROME_VERSION_NOTES=$CHROME_VERSION_MISMATCH_MESSAGE
133131
- name: Download build archive
@@ -146,8 +144,7 @@ jobs:
146144
path: "**/node_modules"
147145
key: node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
148146
- run: yarn install --frozen-lockfile
149-
- name: Test setup
150-
run: cp config/ci.config.json config/project.json
147+
- run: cp config/ci.config.json config/project.json
151148
- name: Set start timestamp env var
152149
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
153150
- name: Run unit tests
@@ -191,8 +188,7 @@ jobs:
191188
path: "**/node_modules"
192189
key: node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
193190
- run: yarn install --frozen-lockfile
194-
- name: Test setup
195-
run: cp config/ci.config.json config/project.json
191+
- run: cp config/ci.config.json config/project.json
196192
- name: Set start timestamp env var
197193
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
198194
- name: Run unit tests

0 commit comments

Comments
 (0)