Skip to content

Commit

Permalink
chore: cron ci and tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Jul 17, 2023
1 parent 43acf1e commit 3759734
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Manual
name: Manual/Periodic Tests
env:
CI: true
FORCE_COLOR: 1
Expand Down Expand Up @@ -69,3 +69,16 @@ jobs:
### Snap Tests failed 🤷🏻‍♂️
Check report and traces: https://w3s.link/ipfs/${{ steps.add_to_web3_storage.outputs.cid }}
" >> $GITHUB_STEP_SUMMARY
- name: Notify Slack
if: always() && github.event_name == 'schedule' && steps.check_report.outputs.files_exists == 'true' && steps.tests.outcome != 'success'
run: echo "Slack notification"
# uses: ravsamhq/notify-slack-action@v2
# with:
# status: ${{ job.status }}
# notify_when: 'failure'
# token: ${{ secrets.GITHUB_TOKEN }}
# notification_title: 'Filsnap tests {status_message}!'
# message_format: '{emoji} *<{workflow_url}|{workflow}>* workflow {status_message} in the <{run_url}|{job}> job.'
# footer: '<{repo_url}|{repo}>'
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
2 changes: 1 addition & 1 deletion packages/adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"module": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"scripts": {
"lint": "tsc --build --pretty && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"lint": "tsc --build && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"build": "wireit",
"test": "wireit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"main": "dist/src/index.js",
"scripts": {
"lint": "tsc --build && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"test": "pnpm run '/^test:.*/'",
"test": "pnpm run test:unit && pnpm run test:e2e",
"test:unit": "playwright-test \"test/unit/**/*.test.ts\" --mode node",
"test:e2e": "playwright test",
"build": "wireit",
Expand Down
File renamed without changes.

0 comments on commit 3759734

Please sign in to comment.