chore: Added Delivery Hero, Talend and Ericsson as adopters (#94) (#95) #166
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: | |
branches: | |
- master | |
- staging | |
pull_request: | |
branches: | |
- master | |
- staging | |
paths-ignore: | |
- ".github/workflows/*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: npm ci | |
- run: npm run build --if-present | |
- uses: actions/cache@v2 | |
id: cache-build | |
with: | |
path: ./* | |
key: ${{ github.sha }} | |
lint: | |
name: linter | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/cache@v2 | |
id: restore-build | |
with: | |
path: ./* | |
key: ${{ github.sha }} | |
- name: eslint-check | |
run: npm run next-lint && npm run lint --silent | |
prettier: | |
name: prettier | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/cache@v2 | |
id: restore-build | |
with: | |
path: ./* | |
key: ${{ github.sha }} | |
- name: prettier-check | |
run: npm run prettier --silent | |
# broken-links: | |
# name: broken-link-check | |
# runs-on: ubuntu-latest | |
# needs: build | |
# steps: | |
# - uses: actions/cache@v2 | |
# id: restore-build | |
# with: | |
# path: ./* | |
# key: ${{ github.sha }} | |
# - name: broken-link check | |
# run: npm run test-blc |