Skip to content

Commit

Permalink
chore: fix package mess
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu committed Apr 30, 2024
1 parent 6d629e5 commit 42aecef
Show file tree
Hide file tree
Showing 3 changed files with 41,734 additions and 14,311 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: "Regular test of Dapps Website"
name: 'Regular test of Dapps Website'

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'

pull_request:
branches: ["main"]
branches: ['main']

# Default to bash
defaults:
Expand All @@ -19,34 +19,24 @@ jobs:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v2

- name: Install pnpm
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # [email protected]
with:
version: latest

- name: Setup node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # [email protected]
with:
node-version: 18.16

- name: Set pnpm cache directory
run: pnpm config set store-dir .pnpm-store
continue-on-error: true

- name: Setup cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # pin@v2
with:
path: |
.pnpm-store
node_modules
/home/runner/.cache/Cypress
key: ${{ runner.os }}-pnpm-v1-${{ hashFiles('**/pnpm-lock.yaml') }}
key: ${{ runner.os }}-npm-v1-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-pnpm-v1-
${{ runner.os }}-npm-v1-
continue-on-error: true

- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline
run: npm install

- name: Install linux deps
run: |
Expand All @@ -58,7 +48,7 @@ jobs:
run: |
Xvfb :0 -screen 0 1024x768x24 -listen tcp -ac &
fluxbox &
pnpm synpress:run-prod
npm run synpress:run-prod
env:
DISPLAY: :0.0

Expand Down
Loading

0 comments on commit 42aecef

Please sign in to comment.