Merge pull request #671 from Tradeshift/renovate/husky-9.x #1140
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: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: validate | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 100 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: 📥 Download dependencies | |
run: npm ci | |
- name: Bootstrap monorepo | |
run: npm run lerna:bootstrap:ci | |
- name: ▶️ Lint and build | |
run: | | |
npm run clean | |
npm run lint | |
npm run copy:static | |
npm run build:prod | |