diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a235929..4bb774a 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -16,9 +16,9 @@ jobs: node-version: [18.x, 20.x, 22.x, 24.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 444f70b..015f71a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,10 +20,10 @@ jobs: needs: confirm-public-repo-master-branch steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: NPM install - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -37,7 +37,7 @@ jobs: run: npm run test - name: Archive npm failure logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: npm-logs @@ -51,7 +51,7 @@ jobs: - confirm-public-repo-master-branch steps: - name: Checkout development branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: mparticle-integrations/mparticle-javascript-integration-facebook ref: development @@ -77,7 +77,7 @@ jobs: steps: - name: Checkout public master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: master @@ -94,7 +94,7 @@ jobs: run: | git pull origin release/${{ github.run_number }} - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -110,7 +110,7 @@ jobs: run: | npx semantic-release - name: Archive npm failure logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: npm-logs @@ -126,7 +126,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 repository: ${{ github.repository }}