env variable names update, apollo wrapper updated to ensure cookie is… #99
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: Automated Testing and Verification 🤖 | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- 'README.md' | |
jobs: | |
inspection: | |
name: Run inspection 🧪 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use Node.js 21.5.0 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '21.5.0' | |
- name: Checkout repository 🔎 | |
uses: actions/checkout@v3 | |
- name: Install dependencies 📦 | |
run: yarn install | |
- name: Lint code ✍️️ | |
run: yarn lint | |
- name: Run tests ✅ | |
run: yarn test | |
env: | |
APP_SERVER_URL: ${{ secrets.APP_SERVER_URL }} | |
build: | |
name: Build image 🛠 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository 🔎 | |
uses: actions/checkout@v3 | |
- name: Build Docker image 🐳 | |
run: | | |
docker build -f docker/staging/Dockerfile . --tag ${{ secrets.DOCKER_USERNAME }}/stage-deployment | |
env: | |
APP_SERVER_URL: ${{ secrets.APP_SERVER_URL }} |