Skip to content

Commit

Permalink
edit publish workflow
Browse files Browse the repository at this point in the history
edit tests workflow triggers
  • Loading branch information
smastrom committed Sep 5, 2024
1 parent 86f2f3c commit efb1cd5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
workflow_dispatch:

jobs:
chrome-tests:
tests-workflow:
uses: ./.github/workflows/tests.yml
publish:
needs: [chrome-tests]
needs: [tests-workflow]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Tests

on: [push, pull_request]
on:
pull_request:
branches:
- main
push:
branches:
- main
tags-ignore:
- '*'
workflow_call:

jobs:
cypress-run:
Expand All @@ -9,7 +18,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '21.x'
- name: Install dependencies
run: yarn
- name: Install Linux Webkit deps
Expand Down

0 comments on commit efb1cd5

Please sign in to comment.