diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 9fbcaa3..aa2f758 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -49,6 +49,7 @@ jobs: preview: yes prebuild-command: | cd functions + npm ci echo "ENVIRONMENT=stage" > .env echo "AGS_HOST=https://wrimaps.at.utah.gov" >> .env build-command: npm run build:stage diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7c5beb6..f1d4a5d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -55,6 +55,7 @@ jobs: prebuild-command: | npx grunt bump --setversion=${{ needs.release.outputs.released_version }} cd functions + npm ci echo "ENVIRONMENT=stage" > .env echo "AGS_HOST=https://wrimaps.at.utah.gov" >> .env build-command: npm run build:stage @@ -80,6 +81,7 @@ jobs: prebuild-command: | npx grunt bump --setversion=${{ needs.release.outputs.released_version }} cd functions + npm ci echo "ENVIRONMENT=prod" > .env echo "AGS_HOST=https://wrimaps.utah.gov" >> .env project-id: ${{ secrets.PROJECT_ID }} diff --git a/.vscode/settings.json b/.vscode/settings.json index b0ca58b..561b2f4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,5 +20,9 @@ "utahid", "WILDADMIN", "wrimaps" + ], + "github-actions.workflows.pinned.workflows": [ + ".github/workflows/pull_request.yml", + ".github/workflows/push.yml" ] }