Skip to content

Commit

Permalink
Remove variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ZKRobi authored and kruplm committed Mar 26, 2024
1 parent 68db3b9 commit c1f4622
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: [ '${{ vars.DOTNET_VERSION }}' ]
node-version: [ '${{ vars.NODE_VERSION }}' ]
dotnet-version: [ '6.0.x' ]
node-version: [ '20.x' ]
steps:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2

- run: echo Calling setup-node with node-version ${{ vars.NODE_VERSION }}

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
Expand All @@ -46,8 +44,6 @@ jobs:
- name: Test JavaScript
run: npx lerna run test

- run: echo Calling setup-dotnet with dotnet-version ${{ vars.DOTNET_VERSION }}

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0
with:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ jobs:
permissions:
id-token: write
steps:
- run: echo Calling setup-node with node-version ${{ vars.NODE_VERSION }}
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ vars.NODE_VERSION }}
node-version: 20.x
registry-url: https://registry.npmjs.org/
- run: |
lerna publish from-package --no-private --yes
Expand All @@ -77,10 +76,9 @@ jobs:
with:
name: packages
path: ./packages
- run: echo Calling setup-dotnet with dotnet-version ${{ vars.DOTNET_VERSION }}
- uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0
with:
dotnet-version: ${{ vars.DOTNET_VERSION }}
dotnet-version: 6.0.x
- name: Publish Messaging packages
working-directory: ./packages
run: |
Expand Down

0 comments on commit c1f4622

Please sign in to comment.