Skip to content

Commit

Permalink
add job names
Browse files Browse the repository at this point in the history
job names added for better workflow understanding
  • Loading branch information
MrSpoocy authored May 6, 2024
1 parent d49da08 commit 17c8fb2
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,33 @@ jobs:
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout Code
uses: actions/checkout@v4
- name: Use Node.js from .nvmrc
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- run: npm ci
- run: npm run build --if-present
- run: npm run test --if-present
- name: Install dependencies
run: npm ci
- name: Build 🔧
run: npm run build --if-present
- name: Test
run: npm run test --if-present
release:
name: semantic-release
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout Code
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
- name: Setup Node.Js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: |
- name: Publish package 📦
run: |
npm ci
npx semantic-release --ci
env:
Expand Down

0 comments on commit 17c8fb2

Please sign in to comment.