From 9330c2712b4822a962ee4824ee07c28da11e78d9 Mon Sep 17 00:00:00 2001 From: Brent Hosie Date: Tue, 24 Jun 2025 11:49:05 -0600 Subject: [PATCH] pdcl-10312: update gh actions --- .github/workflows/dev.yaml | 6 +++--- .github/workflows/npm-publish.yaml | 11 ++++++----- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index 5c1fd16..d019646 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -15,11 +15,11 @@ jobs: name: "Unit Test" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 id: npm-cache with: - node-version: 14.x + node-version: 'lts/iron' path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Setup kernel for react native, increase watchers diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index c042330..cb39105 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -20,11 +20,11 @@ jobs: run: | echo 'Only the tags "latest" or "next" are supported. You entered "${{ github.event.inputs.tag }}"' exit 1 - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 14.x - - uses: actions/cache@v2 + node-version: 'lts/iron' + - uses: actions/cache@v4 id: npm-cache with: path: '**/node_modules' @@ -41,7 +41,8 @@ jobs: env: SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}} - - uses: JS-DevTools/npm-publish@v1 + - uses: JS-DevTools/npm-publish@v3 with: token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} tag: ${{ github.event.inputs.tag }} + access: 'public'