This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
chore(vendor): update @lightbasenl/backend #421
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: PR checks | |
on: [pull_request] | |
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@v4 | |
with: | |
node-version: 18 | |
cache: "npm" | |
# Reset the README.md after generate, else Prettier will fail | |
- name: Run lint | |
run: | | |
npm install | |
npx compas generate application --skip-lint | |
git checkout -- README.md | |
npx 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@v4 | |
with: | |
node-version: 18 | |
cache: "npm" | |
- name: Run tests | |
run: | | |
npm install | |
npx compas generate application --skip-lint | |
npx compas docker up | |
npx compas migrate | |
npx compas test | |
license-checker: | |
uses: lightbasenl/platforms/.github/workflows/lib-license-checker.yml@main |