From e1c033fa713775ac377999de4402557cbe75abab Mon Sep 17 00:00:00 2001 From: lony2003 <35906997+lony2003@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:59:53 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 04cc221..c6175fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,15 +19,19 @@ jobs: - name: Check out Git repository uses: actions/checkout@v1 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v4 with: node-version: 16 # step5: cleanup artifacts in dist_electron - - name: cleanup package lock - run: | - npx rimraf "package-lock.json" + #- name: cleanup package lock + # run: | + # npx rimraf "package-lock.json" # step3: npm install - name: npm install