From 4b639b1c100fc579922457bd4d3e9f52d29749e4 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Mon, 11 Jul 2022 20:58:57 +0200 Subject: Uniform workflow yaml style --- .github/workflows/integration.yml | 15 +++++++++++---- .github/workflows/release.yml | 13 +++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 257f758..258e77e 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62c15a8..66bfb5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: -- cgit v1.2.3