Add aliases for allergens #261
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: CI | |
on: [push] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Install apt packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install shellcheck | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install html5validator==0.4.2 | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Install Node dependencies | |
run: | | |
npm install -g [email protected] [email protected] [email protected] | |
- name: Run tests | |
run: | | |
html5validator --version | |
"./server/test.sh" |