Skip to content

Commit 7f5ad13

Browse files
static github action
1 parent 7f3b68b commit 7f5ad13

18 files changed

+44
-291
lines changed

.github/workflows/check-grow-link-integrity.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
node-version: 14
1919

2020
- uses: actions/cache@v2
21+
if: ${{ !env.ACT }}
2122
with:
2223
path: '**/node_modules'
2324
key: node_modules-${{ hashFiles('**/package-lock.json') }}

.github/workflows/lint-js.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
node-version: 14
1919

2020
- uses: actions/cache@v2
21+
if: ${{ !env.ACT }}
2122
with:
2223
path: '**/node_modules'
2324
key: node_modules-${{ hashFiles('**/package-lock.json') }}

.github/workflows/lint-yaml.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
node-version: 14
2121

2222
- uses: actions/cache@v2
23+
if: ${{ !env.ACT }}
2324
with:
2425
path: '**/node_modules'
2526
key: node_modules-${{ hashFiles('**/package-lock.json') }}

.github/workflows/release-production.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
node-version: 14
3434

3535
- uses: actions/cache@v2
36+
if: ${{ !env.ACT }}
3637
with:
3738
path: '**/node_modules'
3839
key: node_modules-${{ hashFiles('**/package-lock.json') }}

.github/workflows/release-staging.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
node-version: 14
4848

4949
- uses: actions/cache@v2
50+
if: ${{ !env.ACT }}
5051
with:
5152
path: '**/node_modules'
5253
key: node_modules-v2-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
@@ -76,6 +77,7 @@ jobs:
7677
node-version: 14
7778

7879
- uses: actions/cache@v2
80+
if: ${{ !env.ACT }}
7981
with:
8082
path: '**/node_modules'
8183
key: node_modules-v2-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
@@ -132,6 +134,7 @@ jobs:
132134
node-version: 14
133135

134136
- uses: actions/cache@v2
137+
if: ${{ !env.ACT }}
135138
with:
136139
path: '**/node_modules'
137140
key: node_modules-v2-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
@@ -188,6 +191,7 @@ jobs:
188191
node-version: 14
189192

190193
- uses: actions/cache@v2
194+
if: ${{ !env.ACT }}
191195
with:
192196
path: '**/node_modules'
193197
key: node_modules-v2-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}

.github/workflows/release-static-production.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,6 @@ jobs:
186186
- name: Installing Node.js packages
187187
run: npm install
188188

189-
- id: auth
190-
uses: google-github-actions/auth@v0
191-
with:
192-
project_id: ${{ secrets.GCP_PROJECT_ID }}
193-
credentials_json: ${{ secrets.GCP_SA_KEY }}
194-
195-
- name: Setting up Google Cloud SDK
196-
uses: google-github-actions/setup-gcloud@v0
197-
198189
- name: Fetching build artifacts
199190
uses: actions/download-artifact@v2
200191
with:
@@ -207,10 +198,7 @@ jobs:
207198
- name: Finalizing build
208199
run: |
209200
npx gulp buildFinalize
210-
npm run smoke-test -- --colors
211201
212202
- name: Deploying
213203
run: |
214-
gcloud components update --quiet
215-
gcloud components install beta --quiet
216-
npx gulp deploy
204+
npx gulp staticDeploy

.github/workflows/test-grow-extensions.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
node-version: 14
2020

2121
- uses: actions/cache@v2
22+
if: ${{ !env.ACT }}
2223
with:
2324
path: '**/node_modules'
2425
key: node_modules-${{ hashFiles('**/package-lock.json') }}

.github/workflows/test-pixi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
node-version: 14
2121

2222
- uses: actions/cache@v2
23+
if: ${{ !env.ACT }}
2324
with:
2425
path: '**/node_modules'
2526
key: node_modules-${{ hashFiles('**/package-lock.json') }}

.github/workflows/test-platform.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
node-version: 14
2121

2222
- uses: actions/cache@v2
23+
if: ${{ !env.ACT }}
2324
with:
2425
path: '**/node_modules'
2526
key: node_modules-${{ hashFiles('**/package-lock.json') }}

.github/workflows/test-playground.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
node-version: 14
2121

2222
- uses: actions/cache@v2
23+
if: ${{ !env.ACT }}
2324
with:
2425
path: '**/node_modules'
2526
key: node_modules-${{ hashFiles('**/package-lock.json') }}
@@ -29,5 +30,5 @@ jobs:
2930

3031
- name: Running Playground tests
3132
run: |
32-
gulp updateTestResources
33+
npx gulp updateTestResources
3334
npm run test:playground -- --colors

0 commit comments

Comments
 (0)