Skip to content

Run the entire test suite with the latest dependency versions #4341

Run the entire test suite with the latest dependency versions

Run the entire test suite with the latest dependency versions #4341

name: Run the entire test suite with the latest dependency versions
on:
schedule:
- cron: "0 0/8 * * *"
workflow_dispatch:
jobs:
test-without-pnpm-lock-yaml:
name: Test without pnpm-lock.yaml
strategy:
matrix:
system: ["ubuntu-latest", "windows-latest"]
runs-on: ${{ matrix.system }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
- name: Delete pnpm-lock.yaml
run: "rm pnpm-lock.yaml"
- name: Install
run: pnpm install --no-frozen-lockfile
- name: List dependencies
run: pnpm list -r --depth 2
- name: Run tests
env:
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI: true
FORCE_COLOR: 3
run: pnpm test || (echo "===== Retry =====" && pnpm test)
- name: Notify failures
if: failure()
uses: slackapi/slack-github-action@v1.18.0
with:
payload: |
{
"workflow_name": "${{ github.workflow }}",
"run_url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.GH_ACTION_NOTIFICATIONS_SLACK_WEBHOOK_URL }}