Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
binjamil committed May 18, 2024
1 parent d78fc0a commit 66328b4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-lizards-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@mbinjamil/matomo-client": patch
---

Fix GitHub actions
8 changes: 4 additions & 4 deletions .github/workflows/build.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Main
on:
push:
branches:
Expand All @@ -8,11 +8,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: "pnpm"
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: "pnpm"
Expand All @@ -23,5 +23,7 @@ jobs:
- name: Create release pull request
id: changesets
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
publish: pnpm run build

0 comments on commit 66328b4

Please sign in to comment.