From 13b0f2c24c9b11c3665df43017b80fdd3e7335b4 Mon Sep 17 00:00:00 2001 From: Mikalai Silivonik Date: Mon, 12 Aug 2024 10:55:00 -0400 Subject: [PATCH] cleanup --- .github/workflows/build.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d03d46..fd00895 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,23 +18,20 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Use Node.js 20.x + - name: Set up Node.js 20.x uses: actions/setup-node@v4 with: node-version: 20.x cache: 'npm' - name: Install dependencies - uses: borales/actions-yarn@v5 - with: - cmd: install --immutable + run: npm ci - - name: Prepare - uses: borales/actions-yarn@v5 - with: - cmd: prepare + - name: Run tests + run: npm test - - name: Pack - uses: borales/actions-yarn@v5 - with: - cmd: pack + - name: Compile the code + run: npm run compile + + - name: Run styleguide + run: npm run styleguide