Skip to content

Commit

Permalink
chore(packages): wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sbsrnt committed Feb 7, 2024
1 parent aeb7238 commit a3c1fcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0 # Fetch-depth 0 necessary to get full commit history for checking changes

- uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
cache: 'npm'

- name: Configure Git
run: |
Expand All @@ -37,13 +39,7 @@ jobs:
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" > .npmrc
echo "@exile-watch:registry=https://npm.pkg.github.com/" >> .npmrc
- name: Check if package-lock.json changed
id: package-lock-changed
run: |
git rev-parse --quiet --verify HEAD^1 && git diff --quiet HEAD^1 HEAD -- package-lock.json
- name: Install dependencies
if: steps.package-lock-changed.outputs.changed == 'true'
run: npm ci

- if: success()
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20

0 comments on commit a3c1fcb

Please sign in to comment.