diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 796629b..8079160 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: cache: 'npm' - name: Install Deps - run: npm i --prefer-offline --no-audit --progress=false + run: npm ci --progress=false - name: Check Formatting run: npm run format diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2d155ef..7b0a174 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,12 +19,12 @@ jobs: cache: 'npm' - name: Install Deps - run: npm i --prefer-offline --no-audit --progress=false + run: npm ci --progress=false - name: Update version run: | - npm version --no-git-tag-version ${${{ github.event.release.tag_name }}:1} - sed -i -e "s/\"version\": *\"[0-9A-z.\-]*\"/\"version\": $(npm pkg get version)/gi" public/manifest.json + npm version --no-git-tag-version ${${{ github.event.release.tag_name }}:1} + sed -i -e "s/\"version\": *\"[0-9A-z.\-]*\"/\"version\": $(npm pkg get version)/gi" public/manifest.json # TODO: push version change to main #- name: Sign Firefox Extension