From 15248994565fb2d7417150b246b5d19c7dfad02c Mon Sep 17 00:00:00 2001 From: preston176 Date: Tue, 20 Feb 2024 21:57:44 +0300 Subject: [PATCH] Update Node.js version and add test build step --- .github/workflows/npm-run-dev.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/npm-run-dev.yml b/.github/workflows/npm-run-dev.yml index 21e71b0..7f37880 100644 --- a/.github/workflows/npm-run-dev.yml +++ b/.github/workflows/npm-run-dev.yml @@ -3,23 +3,27 @@ name: Test npm run dev on: push: branches: - - main + - main + workflow_dispatch: jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: '14' + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "16" - - name: Install dependencies - run: npm install + - name: Install dependencies + run: npm install - - name: Run npm run dev - run: npm run dev + - name: Run npm run dev + run: npm run dev + + - name: Test build + run: npm run build