This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
chore(vendor): update @lightbasenl/backend (#54) #56
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: Branch checks | |
on: | |
push: | |
branches: | |
- main | |
env: | |
CI: true | |
jobs: | |
lint: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
# Reset the README.md after generate, else Prettier will fail | |
- name: Run lint | |
run: | | |
yarn install --ignore-engines | |
yarn compas generate application --skip-lint | |
git checkout -- README.md | |
yarn compas lint | |
test: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: Run tests | |
run: | | |
yarn install --ignore-engines | |
yarn compas generate application --skip-lint | |
yarn compas docker up | |
yarn compas migrate | |
yarn compas test |