Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedriad1 committed Dec 13, 2023
1 parent 2129b40 commit f486c6a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
# if: ${{ github.event.deployment_status.state == 'success' }}
if: ${{ false }} # disable it for now
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "14.x"
node-version: 20
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
run: yarn install --frozen-lockfile
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run Playwright tests
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- uses: actions/checkout@v4
# Utilize a cache when installing deps for a potentially quicker build
- uses: bahmutov/npm-install@v1
- run: yarn test
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test


0 comments on commit f486c6a

Please sign in to comment.