Skip to content

Commit

Permalink
ci: remove branch tag
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Aug 10, 2024
1 parent 74ec85c commit 9c82c66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
test:
name: test
timeout-minutes: 5
permissions:
contents: read
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.45.3-jammy
Expand All @@ -20,6 +22,6 @@ jobs:
with:
persist-credentials: false

- uses: ./.github/actions/deps@main
- uses: ./.github/actions/test@main
- uses: ./.github/actions/playwright@main
- uses: ./.github/actions/deps
- uses: ./.github/actions/test
- uses: ./.github/actions/playwright
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
with:
persist-credentials: false

- uses: ./.github/actions/deps@main
- uses: ./.github/actions/test@main
- uses: ./.github/actions/playwright@main
- uses: ./.github/actions/deps
- uses: ./.github/actions/test
- uses: ./.github/actions/playwright

release:
name: release
Expand All @@ -35,8 +35,7 @@ jobs:
needs:
- test
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
persist-credentials: false
ref: main
Expand All @@ -59,7 +58,7 @@ jobs:
git add CHANGELOG.md package.json
git commit -m "chore(release): ${{ steps.semrel.outputs.version }}"
- uses: ./.github/actions/deps@main
- uses: ./.github/actions/deps
if: steps.semrel.outputs.version != ''

- name: Build
Expand All @@ -76,7 +75,7 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy build --project-name=guitos

- uses: ./.github/actions/docker@main
- uses: ./.github/actions/docker
if: steps.semrel.outputs.version != ''

- name: Compress bundle
Expand Down

0 comments on commit 9c82c66

Please sign in to comment.