From 8842de2800069796994ae68794fab99a068e1fef Mon Sep 17 00:00:00 2001 From: 4gray Date: Sun, 7 Nov 2021 15:25:21 +0000 Subject: [PATCH] ci: update ci script for non-release branch --- .github/workflows/ci.yaml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 33d771063..9f8d371f9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: "12.x" + node-version: "16.x" - run: git config --global url."https://${{ secrets.PAT }}@github.com/".insteadOf ssh://git@github.com/ - run: npm ci - run: npm test -- --coverage @@ -43,17 +43,9 @@ jobs: - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v1 with: - node-version: 10 + node-version: "16.x" - - name: Install Snapcraft - uses: samuelmeuli/action-snapcraft@v1 - # Only install Snapcraft on Ubuntu - if: startsWith(matrix.os, 'ubuntu') - with: - # Log in to Snap Store - snapcraft_token: ${{ secrets.snapcraft_token }} - - - name: Build/release Electron app + - name: Build Electron app uses: samuelmeuli/action-electron-builder@v1 with: # GitHub token, automatically provided to the action