From 17c8fb2d0f3b0fe2e01a3e1b0139f02bf66bfc57 Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 6 May 2024 14:29:47 +0200 Subject: [PATCH] add job names job names added for better workflow understanding --- .github/workflows/publish.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8a14028..9425630 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: