Skip to content

Commit

Permalink
lock node version and update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuyanh committed Feb 20, 2023
1 parent 72d5c82 commit ede5c4f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/firebase-hosting-merge-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
- name: build
env:
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID: "${{ secrets.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID_DEV }}"
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/firebase-hosting-merge-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
- name: build
env:
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID: "${{ secrets.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID }}"
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ jobs:
check_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: yarn && yarn inspect
build_and_preview:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
- name: build
env:
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID: "${{ secrets.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID_DEV }}"
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.12.0
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3917,9 +3917,9 @@ camelcase@^6.2.0:
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==

caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228, caniuse-lite@^1.0.30001332:
version "1.0.30001335"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001335.tgz#899254a0b70579e5a957c32dced79f0727c61f2a"
integrity sha512-ddP1Tgm7z2iIxu6QTtbZUv6HJxSaV/PZeSrWFZtbY4JZ69tOeNhBCl3HyRQgeNZKE5AOn1kpV7fhljigy0Ty3w==
version "1.0.30001456"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001456.tgz"
integrity sha512-XFHJY5dUgmpMV25UqaD4kVq2LsiaU5rS8fb0f17pCoXQiQslzmFgnfOxfvo1bTpTqf7dwG/N/05CnLCnOEKmzA==

cardinal@^2.1.1:
version "2.1.1"
Expand Down

0 comments on commit ede5c4f

Please sign in to comment.