From f1418ac78bea27079b9a44b44c47b0a9088ca4ce Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Mon, 11 Sep 2023 11:43:23 -0700 Subject: [PATCH] Use put-built-npm-pacakge-contents@v2.0.0 https://github.com/kategengler/put-built-npm-package-contents-on-branch/pull/2 --- files/.github/workflows/push-dist.yml | 2 +- tests/fixtures/default/.github/workflows/push-dist.yml | 4 ++-- tests/fixtures/pnpm/.github/workflows/push-dist.yml | 2 +- tests/fixtures/yarn/.github/workflows/push-dist.yml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/files/.github/workflows/push-dist.yml b/files/.github/workflows/push-dist.yml index b301bf1e..e1ca5732 100644 --- a/files/.github/workflows/push-dist.yml +++ b/files/.github/workflows/push-dist.yml @@ -24,7 +24,7 @@ jobs: cache: '<%= yarn ? 'yarn' : 'npm' %>'<% } if (yarn || npm) { %> - name: Install Dependencies run: <%= yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %><%}%> - - uses: kategengler/put-built-npm-package-contents-on-branch@v1.0.0 + - uses: kategengler/put-built-npm-package-contents-on-branch@v2.0.0 with: branch: dist token: ${{ secrets.GITHUB_TOKEN }} diff --git a/tests/fixtures/default/.github/workflows/push-dist.yml b/tests/fixtures/default/.github/workflows/push-dist.yml index 42eeba67..34f1f46b 100644 --- a/tests/fixtures/default/.github/workflows/push-dist.yml +++ b/tests/fixtures/default/.github/workflows/push-dist.yml @@ -23,8 +23,8 @@ jobs: cache: 'npm' - name: Install Dependencies run: npm ci - - uses: kategengler/put-built-npm-package-contents-on-branch@v1.0.0 + - uses: kategengler/put-built-npm-package-contents-on-branch@v2.0.0 with: branch: dist token: ${{ secrets.GITHUB_TOKEN }} - working-directory: my-addon + working-directory: my-addon diff --git a/tests/fixtures/pnpm/.github/workflows/push-dist.yml b/tests/fixtures/pnpm/.github/workflows/push-dist.yml index 5fdacd30..650130d6 100644 --- a/tests/fixtures/pnpm/.github/workflows/push-dist.yml +++ b/tests/fixtures/pnpm/.github/workflows/push-dist.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: NullVoxPopuli/action-setup-pnpm@v2 - - uses: kategengler/put-built-npm-package-contents-on-branch@v1.0.0 + - uses: kategengler/put-built-npm-package-contents-on-branch@v2.0.0 with: branch: dist token: ${{ secrets.GITHUB_TOKEN }} diff --git a/tests/fixtures/yarn/.github/workflows/push-dist.yml b/tests/fixtures/yarn/.github/workflows/push-dist.yml index 20fdd99c..ad8b0f50 100644 --- a/tests/fixtures/yarn/.github/workflows/push-dist.yml +++ b/tests/fixtures/yarn/.github/workflows/push-dist.yml @@ -23,8 +23,8 @@ jobs: cache: 'yarn' - name: Install Dependencies run: yarn install --frozen-lockfile - - uses: kategengler/put-built-npm-package-contents-on-branch@v1.0.0 + - uses: kategengler/put-built-npm-package-contents-on-branch@v2.0.0 with: branch: dist token: ${{ secrets.GITHUB_TOKEN }} - working-directory: my-addon + working-directory: my-addon