Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@ jobs:
permissions:
id-token: write
contents: write
steps:
env:
# setup-node writes an .npmrc referencing ${NODE_AUTH_TOKEN} (because of registry-url below).
# Since setup-node v7 no longer exports a placeholder, every npm command fails if it's unset.
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Use Node 20
uses: actions/setup-node@v3
uses: actions/checkout@v7
- name: Use Node 24
uses: actions/setup-node@v7
with:
cache: npm
node-version: '20'
node-version: '24'
registry-url: "https://npm.pkg.github.com"
- name: Set package.json version
run: |
Expand Down Expand Up @@ -82,7 +86,7 @@ jobs:
echo "filename=${filename}" >> $GITHUB_OUTPUT
- name: Get release notes
if: inputs.newVersion == 'true'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: change-log
- name: Create Release
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/get-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
channel: ${{ steps.get_version.outputs.channel }}
newVersion: ${{ steps.get_version.outputs.newVersion }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4 # v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
cache: npm
node-version: lts/*
node-version: '24'
registry-url: https://npm.pkg.github.com
scope: "@pepperdash-products"
- name: Get branch name
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
echo "hash: ${{ steps.get_version.outputs.hash }}" >> $GITHUB_STEP_SUMMARY
- name: Upload release notes
if: steps.get_version.outputs.newVersion == 'true'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: change-log
path: CHANGELOG.md
Expand Down
Loading