Skip to content

Commit 690f90a

Browse files
committed
ci: use npm ci
1 parent 23ca265 commit 690f90a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
cache: 'npm'
2727

2828
- name: Install Deps
29-
run: npm i --prefer-offline --no-audit --progress=false
29+
run: npm ci --progress=false
3030

3131
- name: Check Formatting
3232
run: npm run format

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
cache: 'npm'
2020

2121
- name: Install Deps
22-
run: npm i --prefer-offline --no-audit --progress=false
22+
run: npm ci --progress=false
2323

2424
- name: Update version
2525
run: |
26-
npm version --no-git-tag-version ${${{ github.event.release.tag_name }}:1}
27-
sed -i -e "s/\"version\": *\"[0-9A-z.\-]*\"/\"version\": $(npm pkg get version)/gi" public/manifest.json
26+
npm version --no-git-tag-version ${${{ github.event.release.tag_name }}:1}
27+
sed -i -e "s/\"version\": *\"[0-9A-z.\-]*\"/\"version\": $(npm pkg get version)/gi" public/manifest.json
2828
# TODO: push version change to main
2929

3030
#- name: Sign Firefox Extension

0 commit comments

Comments
 (0)