-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:hadronlabs-org/lionco-contracts int…
…o feat/puppeteer
- Loading branch information
Showing
3 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
# yamllint disable rule:line-length | ||
name: Clear cache | ||
|
||
on: | ||
schedule: | ||
- cron: '30 1 * * 1-5' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
job1: | ||
name: Clear Docker | ||
if: always() | ||
runs-on: ${{ matrix.runner_label }} | ||
strategy: | ||
matrix: | ||
runner_label: ${{ fromJSON('["lionco-runner-1", "lionco-runner-2", "lionco-runner-3", "lionco-runner-4", "lionco-runner-5", "lionco-runner-6"]') }} | ||
steps: | ||
- name: Stop old containers | ||
run: docker ps -q | grep -q . && docker stop $(docker ps -q) || echo "No containers to stop" | ||
- name: Remove old containers | ||
run: docker ps -a -q | grep -q . && docker rm $(docker ps -a -q) || echo "No containers to remove" | ||
- name: Delete old images | ||
run: docker system prune --volumes --all --force | ||
job2: | ||
name: Clear workspaces | ||
if: always() | ||
needs: job1 | ||
runs-on: ${{ matrix.runner_label }} | ||
strategy: | ||
matrix: | ||
runner_label: ${{ fromJSON('["lionco-runner-1", "lionco-runner-2", "lionco-runner-3", "lionco-runner-4", "lionco-runner-5", "lionco-runner-6"]') }} | ||
steps: | ||
- uses: xembly/workflow-manager@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
run: clean | ||
verbose: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,11 @@ jobs: | |
node-version: '18.16.1' | ||
cache: 'yarn' | ||
cache-dependency-path: integration_tests/yarn.lock | ||
- name: Setup Go environment | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.20 | ||
cache: false | ||
- name: Lint | ||
run: cd integration_tests && yarn --ignore-engines && yarn lint | ||
# - name: Build images | ||
|
@@ -86,4 +91,4 @@ jobs: | |
run: | | ||
cd integration_tests | ||
yarn vitest ./src --run --shard 1/2 --bail 1 | ||
yarn vitest ./src --run --shard 2/2 --bail 1 | ||
yarn vitest ./src --run --shard 2/2 --bail 1 |
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