From f8e8c8cce5898e5c0d4e53f1645bcd86f9cc46d3 Mon Sep 17 00:00:00 2001 From: marihachi Date: Thu, 1 Apr 2021 11:37:44 +0900 Subject: [PATCH] update CI configuration --- .editorconfig | 3 +++ .github/workflows/{node.js.yml => ci.yml} | 14 +++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) rename .github/workflows/{node.js.yml => ci.yml} (74%) diff --git a/.editorconfig b/.editorconfig index d96a5dd..13791d2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,3 +8,6 @@ insert_final_newline = true [*.json] indent_style = space + +[*.yml] +indent_style = space diff --git a/.github/workflows/node.js.yml b/.github/workflows/ci.yml similarity index 74% rename from .github/workflows/node.js.yml rename to .github/workflows/ci.yml index 16dea99..22167a6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,15 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm i - - run: npm run build - - run: npm run test + - name: Install + run: npm i + - name: Build + run: npm run build + - name: Test + run: npm run test