17 Merged into main branch #82
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 | |
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 |