Optimize benificiaries style for kusama overview #877
Workflow file for this run
This file contains hidden or 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: front ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "release-*" | |
| paths: | |
| - "site/**" | |
| pull_request: | |
| branches: | |
| - main | |
| - "release-*" | |
| paths: | |
| - "site/**" | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: setup node LTS | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: lts/* | |
| cache: yarn | |
| cache-dependency-path: | | |
| site/yarn.lock | |
| landing/yarn.lock | |
| - name: install | |
| uses: borales/actions-yarn@v4 | |
| with: | |
| cmd: install | |
| dir: site | |
| - name: lint | |
| uses: borales/actions-yarn@v4 | |
| with: | |
| cmd: lint | |
| dir: site | |
| build: | |
| runs-on: ubuntu-latest | |
| needs: [lint] | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: setup node LTS | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: lts/* | |
| cache: yarn | |
| cache-dependency-path: | | |
| site/yarn.lock | |
| - name: install site | |
| uses: borales/actions-yarn@v4 | |
| with: | |
| cmd: install | |
| dir: site | |
| - name: build site | |
| uses: borales/actions-yarn@v4 | |
| with: | |
| cmd: build | |
| dir: site | |
| - name: install landing | |
| uses: borales/actions-yarn@v4 | |
| with: | |
| cmd: install | |
| dir: landing | |
| - name: build landing | |
| uses: borales/actions-yarn@v4 | |
| with: | |
| cmd: build | |
| dir: landing |