Replace DaisyUI spinner with custom component #331
Workflow file for this run
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: | |
pull_request: | |
branches: [main, staging, develop, polygon-prototype-staging] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Running ci | |
if: | |
"!contains(toJSON(github.event.commits.*.message), 'chore(release):') && | |
github.event.pull_request.draft != true" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
env: | |
CI: true | |
steps: | |
- name: 🛒 Checkout code | |
uses: actions/checkout@v3 | |
- name: Enable corepack | |
run: corepack enable | |
- name: 💿 Setup Nodejs | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: 💾 Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- name: 💾 Cache | |
uses: actions/cache@v3 | |
id: yarn-cache | |
with: | |
path: | | |
**/.cache/Cypress | |
**/cypress/cache | |
**/node_modules | |
${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn | |
- name: 🧩 Install dependencies | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
run: YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install --inline-builds | |
- name: 📋 Yarn Lock Changes | |
uses: Simek/yarn-lock-changes@main | |
with: | |
updateComment: 'true' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: ✏️ Lint | |
run: yarn lint:ts | |
- name: 🧪 Test | |
run: yarn test --passWithNoTests |