-
Notifications
You must be signed in to change notification settings - Fork 1.5k
41 lines (39 loc) · 1.18 KB
/
LATEST_DEPENDENCY_VERSIONS.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Run the entire test suite with the latest dependency versions
on:
schedule:
- cron: "0 0/8 * * *"
workflow_dispatch:
jobs:
test-without-yarn-lock:
name: Test without yarn.lock
strategy:
matrix:
system: ["ubuntu-latest", "windows-latest"]
runs-on: ${{ matrix.system }}
steps:
- uses: actions/setup-node@v2
with:
node-version: 16
- uses: actions/checkout@v2
- name: Delete yarn.lock
run: "rm yarn.lock"
- name: Install
run: yarn
- name: List dependencies
run: yarn list
- name: Run tests
env:
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI: true
FORCE_COLOR: 3
run: yarn test || (echo "===== Retry =====" && yarn test)
- name: Notify failures
if: failure()
uses: slackapi/[email protected]
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 }}