Skip to content

Montreal 21k

Montreal 21k #213

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