Skip to content

Commit

Permalink
chore(actions): update workflow actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnk committed Aug 2, 2024
1 parent af614a1 commit 1246e61
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 141 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
using: "composite"
steps:
- name: Turborepo Caching Server
uses: felixmosh/turborepo-gh-artifacts@v2
uses: felixmosh/turborepo-gh-artifacts@v3
with:
repo-token: ${{ inputs.GITHUB_TOKEN }}
server-token: ${{ inputs.TURBO_SERVER_TOKEN }}
Expand All @@ -27,7 +27,7 @@ runs:
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/ai-pr-reviewer.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/apps-extension-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
NODE_OPTIONS: "--max_old_space_size=4096"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup env
uses: ./.github/actions/setup
with:
Expand All @@ -54,7 +54,7 @@ jobs:
run: VITE_APP_DEFAULT_NETWORK=$VITE_APP_DEFAULT_NETWORK pnpm build:extension
- name: Run unit tests
run: pnpm test:unit
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: pallad-chromium
path: apps/extension/dist/
8 changes: 3 additions & 5 deletions .github/workflows/apps-extension-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
NODE_OPTIONS: "--max_old_space_size=4096"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup deps
run: sudo apt-get install xvfb
- uses: actions/checkout@v4
- name: Setup env
uses: ./.github/actions/setup
with:
Expand All @@ -32,8 +30,8 @@ jobs:
working-directory: apps/extension
run: pnpm test:e2e:install
- name: Run E2E tests
run: xvfb-run --auto-servernum pnpm test:e2e:extension
- uses: actions/upload-artifact@v3
run: pnpm test:e2e:extension
- uses: actions/upload-artifact@v4
with:
name: pallad-extension-e2e
path: apps/extension/playwright-report/
98 changes: 0 additions & 98 deletions .github/workflows/packages-ci.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/packages-ui-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
env:
VITE_APP_DEFAULT_NETWORK: Devnet
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Setup env
uses: ./.github/actions/setup
with:
Expand All @@ -39,12 +39,12 @@ jobs:
- name: Build features stories
run: pnpm story:features
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
name: features-stories
path: packages/features/build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
with:
artifact_name: features-stories
1 change: 1 addition & 0 deletions apps/extension/e2e/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const test = base.extend<{
const context = await chromium.launchPersistentContext("", {
headless: false,
args: [
"--headless=new",
`--disable-extensions-except=${pathToExtension}`,
`--load-extension=${pathToExtension}`,
],
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview",
"cleanup": "rimraf node_modules dist .turbo",
"test:e2e": "playwright test",
"test:e2e:install": "npx playwright install chromium",
"test:e2e:install": "npx playwright install --with-deps chromium",
"test:e2e:ui": "playwright test --ui"
},
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion apps/extension/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default defineConfig({
reporter: "html",
timeout: 180000, // 3 minutes timeout
use: {
headless: true,
baseURL: BASE_URL,
trace: "on-first-retry",
permissions: ["clipboard-read", "clipboard-write"],
Expand Down

0 comments on commit 1246e61

Please sign in to comment.