Skip to content

Commit 4fa1e3c

Browse files
committed
updates git flows
1 parent 3ecb679 commit 4fa1e3c

File tree

3 files changed

+6
-48
lines changed

3 files changed

+6
-48
lines changed

.github/workflows/firebase-hosting-merge.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,8 @@ jobs:
1010
build_and_deploy:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
15-
- name: Cache pnpm modules
16-
uses: actions/cache@v2
17-
with:
18-
path: ~/.pnpm-store
19-
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
20-
restore-keys: |
21-
${{ runner.os }}-
22-
23-
- uses: pnpm/[email protected]
24-
with:
25-
version: 6.0.2
26-
run_install: |
27-
- recursive: true
28-
args: [--frozen-lockfile, --strict-peer-dependencies]
29-
30-
- run: pnpm build
13+
- uses: actions/checkout@v3
14+
- run: npm install && npm run build
3115
- uses: FirebaseExtended/action-hosting-deploy@v0
3216
with:
3317
repoToken: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,8 @@ jobs:
88
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
13-
- name: Cache pnpm modules
14-
uses: actions/cache@v2
15-
with:
16-
path: ~/.pnpm-store
17-
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
18-
restore-keys: |
19-
${{ runner.os }}-
20-
21-
- uses: pnpm/[email protected]
22-
with:
23-
version: 6.0.2
24-
run_install: |
25-
- recursive: true
26-
args: [--frozen-lockfile, --strict-peer-dependencies]
27-
28-
- run: pnpm build
29-
11+
- uses: actions/checkout@v3
12+
- run: npm install && npm run build
3013
- uses: FirebaseExtended/action-hosting-deploy@v0
3114
with:
3215
repoToken: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/publish_package.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,12 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
11-
- uses: pnpm/[email protected]
12-
with:
13-
version: 6.0.2
14-
run_install: |
15-
- recursive: true
16-
17-
- run: pnpm run bundle
18-
9+
- uses: actions/checkout@v3
10+
- run: npm install && npm run bundle
1911
- uses: actions/setup-node@v2
2012
with:
2113
registry-url: 'https://registry.npmjs.org'
2214
scope: '@benchmark-urbanism'
23-
2415
- run: npm publish --access public
2516
env:
2617
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)