From 82a8f77cfb2044a8c3ae751b33a75f0022366c35 Mon Sep 17 00:00:00 2001 From: Jongsun Suh Date: Sat, 25 Nov 2023 18:59:23 -0800 Subject: [PATCH] More descriptive names for build workflow --- .github/workflows/build.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c14646da1..b8f0df9b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: build +name: Lint, build, and test on: pull_request: @@ -6,11 +6,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - name: Checkout the repository + + uses: actions/checkout@v3 + - name: Use Node.js + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' - - run: npm install - - run: npm run lint-check - - run: npm run build - - run: npm test + - name: Install npm dependencies + run: npm install + - name: Run linter + run: npm run lint-check + - name: Run TypeScript compiler + run: npm run build + - name: Run tests + run: npm test