-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 update GH actions to pnpm v7 (#1051)
The strict-peer-dependencies flag is due to lack of npmrc file
- Loading branch information
Showing
10 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,11 +28,11 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Install dependencies 🔧 | ||
id: install-dependencies | ||
run: | | ||
pnpm install | ||
pnpm install --strict-peer-dependencies=false | ||
pnpm studio yarn | ||
- name: Run ESLint 🔎 | ||
id: lint | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Cache pnpm modules 💾 | ||
uses: actions/setup-node@v2 | ||
with: | ||
|
@@ -35,8 +35,8 @@ jobs: | |
- name: Install dependencies 🔧 | ||
id: install-dependencies | ||
run: | | ||
pnpm install | ||
pnpm install --filter energy-vision-web | ||
pnpm install --strict-peer-dependencies=false | ||
pnpm install --filter energy-vision-web --strict-peer-dependencies=false | ||
- name: Run ESLint 🔎 | ||
id: lint | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,11 +57,11 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Install dependencies 🔧 | ||
id: install-dependencies | ||
run: | | ||
pnpm install | ||
pnpm install --strict-peer-dependencies=false | ||
pnpm studio yarn | ||
- name: Deploy 🚀 | ||
id: deploy | ||
|
@@ -132,7 +132,7 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Install dependencies 🔧 | ||
id: install-dependencies | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Cache pnpm modules 💾 | ||
uses: actions/setup-node@v2 | ||
with: | ||
|
@@ -37,7 +37,7 @@ jobs: | |
id: install-dependencies | ||
run: | | ||
pushd search | ||
pnpm install | ||
pnpm install --strict-peer-dependencies=false | ||
popd | ||
- name: Run ESLint 🔎 | ||
id: lint | ||
|
@@ -104,7 +104,7 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Cache pnpm modules 💾 | ||
uses: actions/setup-node@v2 | ||
with: | ||
|
@@ -155,12 +155,12 @@ jobs: | |
uses: azure/powershell@v1 | ||
with: | ||
inlineScript: | | ||
$profile = "" | ||
$profile = Get-AzWebAppPublishingProfile -ResourceGroupName $env:AZURE_RESOURCE_GROUP_NAME -Name $env:AZURE_FUNCTIONAPP_NAME | ||
$profile = $profile.Replace("`r", "").Replace("`n", "") | ||
Write-Output "::set-output name=pubprofile::$profile" | ||
Remove-Variable profile | ||
azPSVersion: "latest" | ||
$profile = "" | ||
$profile = Get-AzWebAppPublishingProfile -ResourceGroupName $env:AZURE_RESOURCE_GROUP_NAME -Name $env:AZURE_FUNCTIONAPP_NAME | ||
$profile = $profile.Replace("`r", "").Replace("`n", "") | ||
Write-Output "::set-output name=pubprofile::$profile" | ||
Remove-Variable profile | ||
azPSVersion: 'latest' | ||
|
||
- name: 'Create output directory' | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,11 +72,11 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Install dependencies 🔧 | ||
id: install-dependencies | ||
run: | | ||
pnpm install | ||
pnpm install --strict-peer-dependencies=false | ||
pnpm studio yarn | ||
- name: Deploy 🚀 | ||
id: deploy | ||
|
@@ -148,11 +148,11 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Install dependencies 🔧 | ||
id: install-dependencies | ||
run: | | ||
pnpm install | ||
pnpm install --strict-peer-dependencies=false | ||
pnpm studio yarn | ||
- name: Deploy 🚀 | ||
id: deploy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,11 +23,11 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Install dependencies 🔧 | ||
id: install-dependencies | ||
run: | | ||
pnpm install | ||
pnpm install --strict-peer-dependencies=false | ||
pnpm studio yarn | ||
- name: Run ESLint 🔎 | ||
id: lint | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Cache pnpm modules 💾 | ||
uses: actions/setup-node@v2 | ||
with: | ||
|
@@ -23,8 +23,8 @@ jobs: | |
- name: Install dependencies 🔧 | ||
id: install-dependencies | ||
run: | | ||
pnpm install | ||
pnpm install --filter energy-vision-web | ||
pnpm install --strict-peer-dependencies=false | ||
pnpm install --filter energy-vision-web --strict-peer-dependencies=false | ||
- name: Run ESLint 🔎 | ||
id: lint | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,13 +36,13 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Install dependencies 🔧 | ||
id: install-dependencies | ||
run: | | ||
pnpm install | ||
pnpm web install | ||
pnpm e2e install | ||
pnpm install --strict-peer-dependencies=false | ||
pnpm web install --strict-peer-dependencies=false | ||
pnpm e2e install --strict-peer-dependencies=false | ||
- name: Build web application ⚙️ | ||
id: build-web-app | ||
run: pnpm web build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,12 +29,12 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: '^6.32.11' | ||
version: '^7.1.7' | ||
- name: Build legacy js | ||
id: build-legacy-js | ||
working-directory: ./legacy/js | ||
run: | | ||
pnpm install | ||
pnpm install --strict-peer-dependencies=false | ||
- name: Export to Azure | ||
uses: bacongobbler/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,12 +30,12 @@ jobs: | |
id: install-pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: ^6.32.11 | ||
version: '^7.1.7' | ||
- name: Install dependencies 🔽 | ||
id: install-dependencies | ||
run: | | ||
pnpm install | ||
pnpm install --filter energy-vision-web | ||
pnpm install --strict-peer-dependencies=false | ||
pnpm install --filter energy-vision-web --strict-peer-dependencies=false | ||
- name: Lint components 🔎 | ||
id: lint | ||
run: | | ||
|