Montreal 21k #213
Workflow file for this 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
name: install-lint-build | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
pull_request: | |
branches: | |
- main | |
jobs: | |
install_lint_build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Create .env File | |
run: | | |
touch .env | |
echo VUE_APP_API_KEY=${{ secrets.VUE_APP_API_KEY }} >> .env | |
echo VUE_APP_AUTH_DOMAIN=${{ secrets.VUE_APP_AUTH_DOMAIN }} >> .env | |
echo VUE_APP_PROJECT_ID=${{ secrets.VUE_APP_PROJECT_ID }} >> .env | |
echo VUE_APP_STORAGE_BUCKET=${{ secrets.VUE_APP_STORAGE_BUCKET }} >> .env | |
echo VUE_APP_MESSAGING_SENDER_ID=${{ secrets.VUE_APP_MESSAGING_SENDER_ID }} >> .env | |
echo VUE_APP_APP_ID=${{ secrets.VUE_APP_APP_ID }} >> .env | |
echo VUE_APP_MEASUREMENT_ID=${{ secrets.VUE_APP_MEASUREMENT_ID }} >> .env | |
echo VUE_APP_TEST_USER_EMAIL=${{ secrets.VUE_APP_TEST_USER_EMAIL }} >> .env | |
echo VUE_APP_TEST_USER_PASSWORD=${{ secrets.VUE_APP_TEST_USER_PASSWORD }} >> .env | |
echo VUE_APP_FLAG_NEW_DESIGN=true >> .env | |
- name: Install and Build 🔧 | |
run: | | |
npm install | |
npm run lint | |
npm run build |