From 66328b4c28af03f1c807d57e6a8cd9ef0ff9deca Mon Sep 17 00:00:00 2001 From: Muhammad Bin Jamil Date: Sat, 18 May 2024 23:18:04 +0500 Subject: [PATCH] fix github actions --- .changeset/gold-lizards-count.md | 5 +++++ .github/workflows/{build.yml => main.yml} | 8 ++++---- .github/workflows/publish.yml | 8 +++++--- 3 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 .changeset/gold-lizards-count.md rename .github/workflows/{build.yml => main.yml} (71%) diff --git a/.changeset/gold-lizards-count.md b/.changeset/gold-lizards-count.md new file mode 100644 index 0000000..856b638 --- /dev/null +++ b/.changeset/gold-lizards-count.md @@ -0,0 +1,5 @@ +--- +"@mbinjamil/matomo-client": patch +--- + +Fix GitHub actions diff --git a/.github/workflows/build.yml b/.github/workflows/main.yml similarity index 71% rename from .github/workflows/build.yml rename to .github/workflows/main.yml index 81c9954..33cf48f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Build +name: Main on: push: branches: @@ -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" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 370d127..acedcfe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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" @@ -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