From 5e809be559b75376e7e86f03095efa0c7453e990 Mon Sep 17 00:00:00 2001 From: Chaphasilor Date: Tue, 25 May 2021 21:39:00 +0200 Subject: [PATCH] update GH actions - install depencies before packaging --- .github/workflows/main.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5654b83..9fe33a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,16 +24,11 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - # Runs a single command using the runners shell + - name: Install dependencies + run: npm ci - name: Package project into executables run: npx pkg . --compress brotli - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. - - name: Upload Linux Build Artifact to release uses: svenstaro/upload-release-action@v2 with: