Skip to content

13 Updated ci/cd

13 Updated ci/cd #73

Workflow file for this run

name: Automated Testing and Verification πŸ€–
on:
pull_request:
branches: [ main ]
types: [ opened, synchronize, closed ]
push:
branches-ignore:
- main
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
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