]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Uniform workflow yaml style
authorBastien Wirtz <bastien.wirtz@gmail.com>
Mon, 11 Jul 2022 18:58:57 +0000 (20:58 +0200)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Mon, 11 Jul 2022 18:58:57 +0000 (20:58 +0200)
.github/workflows/integration.yml
.github/workflows/release.yml

index 257f7582e47c237d6134b549ef3ebc591b4c7416..258e77e6dcfdd592cd934bbe32c29315fdea7ea6 100644 (file)
@@ -20,12 +20,19 @@ jobs:
         # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
 
     steps:
-    - uses: actions/checkout@v3
-    - name: Use Node.js ${{ matrix.node-version }}
+    - 
+      name: Checkout
+      uses: actions/checkout@v3
+    - 
+      name: Use Node.js ${{ matrix.node-version }}
       uses: actions/setup-node@v2
       with:
         node-version: ${{ matrix.node-version }}
         cache: 'yarn'
-    - run: yarn install
-    - run: yarn lint
+    - 
+      name: install dependencies
+      run: yarn install
+    - 
+      name: Check code style & potentential issues
+      run: yarn lint
 
index 62c15a84b2e73ec35c151a724ef2d30d649c86b1..66bfb5b5b8de5c08ac5e45b0c3a67ebe858c0da4 100644 (file)
@@ -10,15 +10,20 @@ jobs:
     name: Upload Release Asset
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
-      - name: Build project
+      - 
+        name: Checkout
+        uses: actions/checkout@v3
+      - 
+        name: Build project
         run: |
           yarn install
           yarn build
-      - name: Create artifact
+      - 
+        name: Create artifact
         working-directory: "dist"
         run: zip -r ../homer.zip ./*
-      - name: Create Release
+      - 
+        name: Create Release
         id: create_release
         uses: softprops/action-gh-release@v1
         with: