Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch: update to node v20 for semantic release #76

Merged
merged 1 commit into from
Mar 4, 2024
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
cmd: yq eval-all '. as $item ireduce ({}; . *+ $item)' rulesets/src/*.ruleset.yml >> sps-api-standards.spectral.yml
- name: view merged rulesets
run: cat sps-api-standards.spectral.yml

release:
name: release
needs: [test]
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: checkout
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
Expand All @@ -57,10 +57,10 @@ jobs:
uses: mikefarah/[email protected]
with:
cmd: yq eval-all '. as $item ireduce ({}; . *+ $item)' rulesets/src/*.ruleset.yml >> sps-api-standards.spectral.yml
- name: use node.js 18
- name: use node.js 20
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: install release plugins
run: npm install -g semantic-release @semantic-release/git -D
- name: semantic release
Expand All @@ -72,5 +72,5 @@ jobs:
uses: Azure/pipelines@v1
with:
azure-devops-project-url: https://dev.azure.com/spscommerce/api-lifecycle
azure-pipeline-name: 'sps-api-standards-cdn-publish'
azure-pipeline-name: "sps-api-standards-cdn-publish"
azure-devops-token: ${{ secrets.AZURE_DEVOPS_TOKEN }}
Loading