Added netlify.toml #122
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: | |
NEXT_PUBLIC_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 / | |
--build-arg PORT=8081 / | |
-f docker/app.Dockerfile . |