Skip to content

Commit

Permalink
ci: use env instead of matrix strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Jun 2, 2023
1 parent 94d9a62 commit ac92991
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,18 @@ jobs:
needs: lint-and-test

runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
env:
node-version: 18.x

steps:
- name: Checkout project
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ env.node-version }}
- name: Install packages
run: npm ci
- name: Run Semantic Release
Expand Down

0 comments on commit ac92991

Please sign in to comment.