style(tangle-dapp): Design changes in jam meeting #3417
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: clean 🧹 | |
on: | |
pull_request: | |
branches: [develop, staging, master, feature/**] | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['>=18.12.x'] | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.12.1 | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
- name: Enable corepack | |
run: | | |
corepack enable | |
corepack prepare yarn@4.2.2 --activate | |
yarn set version 4.2.2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: lint | |
run: | | |
yarn install | |
yarn format:check | |
yarn nx run-many --all --target=lint | |
format: | |
name: format | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['>=18.12.x'] | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.12.1 | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
- name: Enable corepack | |
run: | | |
corepack enable | |
corepack prepare yarn@4.2.2 --activate | |
yarn set version 4.2.2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: prettier | |
run: | | |
yarn install | |
yarn format:check | |
links: | |
name: links | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.12.1 | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
- name: Link Checker | |
uses: lycheeverse/lychee-action@v2.1.0 | |
with: | |
# Ignore the README.md file as some social sharing links are not valid | |
args: --verbose --no-progress --exclude-path 'README.md' './**/*.md' './**/*.html' './**/*.rst' | |
fail: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |