Skip to content

Commit

Permalink
ci: use npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Apr 28, 2023
1 parent 23ca265 commit 690f90a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 690f90a

Please sign in to comment.