Skip to content

Commit

Permalink
chore: update playwright and use exec in ci (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias authored Aug 17, 2023
1 parent 7154c66 commit bcbfd86
Show file tree
Hide file tree
Showing 11 changed files with 119 additions and 63 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/adapter-react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Adapter React
env:
CI: true
FORCE_COLOR: 1
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/ms-playwright
on:
push:
branches:
Expand Down Expand Up @@ -32,7 +31,6 @@ jobs:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- run: pnpm dlx playwright install --with-deps chromium
- run: pnpm -r --filter filsnap-adapter-react run lint
- run: pnpm -r --filter filsnap-adapter-react exec depcheck
- run: pnpm -r --filter filsnap-adapter-react run test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/adapter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- run: pnpm dlx playwright install --with-deps chromium
- run: pnpm --filter filsnap-adapter exec playwright install --with-deps chromium
- run: pnpm -r --filter filsnap-adapter run lint
- run: pnpm -r --filter filsnap-adapter exec depcheck
- run: pnpm -r --filter filsnap-adapter run test
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- run: pnpm dlx playwright install --with-deps chromium
- run: echo "${{ github.event_name}}"
- run: pnpm --filter filsnap exec playwright install --with-deps chromium
- run: pnpm -r --filter filsnap run test
id: tests
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- run: pnpm -r --filter demo run build
env:
GITHUB_WORKFLOW_ID: ${{ github.run_id }}
- uses: fission-suite/publish-action@feat/cid-output
- uses: fission-suite/publish-action@v1.2.8
id: fission
with:
machine_key: ${{ secrets.FISSION_MACHINE_KEY }}
Expand All @@ -33,7 +33,7 @@ jobs:
" >> $GITHUB_STEP_SUMMARY
preview:
runs-on: ubuntu-latest
if: github.ref_name != 'master'
if: github.ref_name != 'master' && github.actor != 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- run: pnpm dlx playwright install --with-deps chromium
- run: pnpm --filter filsnap exec playwright install --with-deps chromium
- run: pnpm -r --filter filsnap run lint
- run: pnpm -r --filter filsnap exec depcheck
- run: pnpm -r --filter filsnap run test:unit
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@playwright/test": "^1.36.2",
"@playwright/test": "^1.37.0",
"@preact/preset-vite": "^2.5.0",
"@types/node": "^20.4.5",
"tiny-git-rev-sync": "^0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/fil-forwarder-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@playwright/test": "^1.36.2",
"@playwright/test": "^1.37.0",
"@preact/preset-vite": "^2.5.0",
"@types/node": "^20.4.5",
"vite": "^4.4.7"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"filsnap": "workspace:^"
},
"devDependencies": {
"@playwright/test": "^1.36.2",
"@playwright/test": "^1.37.0",
"@types/node": "^20.4.5",
"metamask-testing-tools": "^1.1.4",
"typescript": "5.1.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@metamask/snaps-cli": "^0.32.2",
"@metamask/snaps-rollup-plugin": "^0.32.2",
"@metamask/snaps-types": "^0.32.2",
"@playwright/test": "^1.36.2",
"@playwright/test": "^1.37.0",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-sucrase": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/filecoin-project/filsnap.git"
},
"source": {
"shasum": "OfcugyA6dShGuJZbZAmwbtMOnhKbAuYrPnvX+Al5xf4=",
"shasum": "Wu+W3SNWIUaV5EBIUv6IEDyYl0rxD8iXsdpPo2BqAVs=",
"location": {
"npm": {
"filePath": "dist/snap.js",
Expand Down
Loading

0 comments on commit bcbfd86

Please sign in to comment.