[NO-ISSUE] Configure the API gateway #1092
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: Frontend tests | |
on: | |
pull_request: | |
push: | |
branches: ["main", "development"] | |
jobs: | |
Frontend_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
cache: "yarn" | |
cache-dependency-path: assets/yarn.lock | |
- name: Configure environment | |
run: | | |
echo "$HOME/node_modules/.bin" >> $GITHUB_PATH | |
source ./environment.ci.sh | |
- uses: actionsx/prettier@v3 | |
with: | |
# prettier CLI arguments. | |
args: --check ./assets/css | |
- name: Stylelint | |
run: | | |
cd assets | |
yarn | |
yarn stylelint css | |
- name: Build | |
run: | | |
make assets-deps | |
make build-assets |