Skip to content

Commit

Permalink
ci: blah blah
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Oct 4, 2024
1 parent f3c5437 commit 923a38d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
Expand All @@ -26,14 +24,6 @@ jobs:
- name: Always test with the latest browserslist db
run: |
npx update-browserslist-db@latest
echo "github.ref_type ${{ github.ref_type }}"
echo "github.ref_protected ${{ github.ref_protected }}"
- name: if test 1
if: github.ref_type == 'branch'
run: echo "This is a branch"
- name: if test 2
if: ${{ ! github.ref_protected }}
run: echo "This branch is not protected"
- name: Commit browserslist db changes on dev branches
if: ${{ github.ref_type == 'branch' && ! github.ref_protected }}
run: |
Expand All @@ -46,7 +36,6 @@ jobs:
git add package-lock.json
git commit -m "chore: update browserslist db"
git push
fail
fi
- name: Ng test for studio-web
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
if: github.event.action != 'closed'
run: |
npm install
- name: Always test with the latest browserslist db
run: |
npx update-browserslist-db@latest
- name: Build web-component
if: github.event.action != 'closed'
run: |
Expand Down

0 comments on commit 923a38d

Please sign in to comment.