Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
chore: update PR tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight committed Feb 21, 2024
1 parent df29d6d commit 32eb8f6
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 50 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,39 @@ concurrency:

jobs:
tests-e2e:
name: E2E Tests
name: E2E Tests (Disabled)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node
uses: FuelLabs/github-actions/setups/node@master
# - name: Setup Node
# uses: FuelLabs/github-actions/setups/node@master

- name: Setup Docker
uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
# - name: Setup Docker
# uses: FuelLabs/github-actions/setups/docker@master
# with:
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GITHUB_TOKEN }}

- name: Start Test Node
run: pnpm node:start
# - name: Start Test Node
# run: pnpm node:start

# E2E tests running with Playwright
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps chromium
# # E2E tests running with Playwright
# - name: Install Playwright Browsers
# run: pnpm exec playwright install --with-deps chromium

- name: Run E2E Tests
run: xvfb-run --auto-servernum -- pnpm test:all
env:
NODE_ENV: test
# - name: Run E2E Tests
# run: xvfb-run --auto-servernum -- pnpm test:all
# env:
# NODE_ENV: test

- uses: actions/upload-artifact@v2
if: always()
with:
name: playwright-report
path: packages/app/playwright-report/
retention-days: 30
# - uses: actions/upload-artifact@v2
# if: always()
# with:
# name: playwright-report
# path: packages/app/playwright-report/
# retention-days: 30

- name: Stop Test Node
run: pnpm node:stop
# - name: Stop Test Node
# run: pnpm node:stop
50 changes: 25 additions & 25 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,34 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

audit:
name: Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- run: pnpm audit --prod
# audit:
# name: Audit
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: FuelLabs/github-actions/setups/node@master
# env:
# PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
# - run: pnpm audit --prod

lint:
name: Lint
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
# lint:
# name: Lint
# runs-on: ubuntu-latest
# permissions:
# checks: write
# pull-requests: write
# contents: write
# steps:
# - name: Checkout
# uses: actions/checkout@v3

- name: Setup Node
uses: FuelLabs/github-actions/setups/node@master
# - name: Setup Node
# uses: FuelLabs/github-actions/setups/node@master

- name: Run lint
run: |
pnpm ts:check
pnpm lint
# - name: Run lint
# run: |
# pnpm ts:check
# pnpm lint

build:
name: Build
Expand Down

0 comments on commit 32eb8f6

Please sign in to comment.