Skip to content

Commit

Permalink
ci(publish): refactor publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Aug 31, 2024
1 parent e257f73 commit 771da16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,14 @@ jobs:
node-version: latest
registry-url: https://npm.pkg.github.com/

- name: Configure git
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- name: Update package.json
run: npm version ${{ needs.setup_release.outputs.release_version }} --no-git-tag-version
run: |
npm version ${{ needs.setup_release.outputs.release_version }}
- name: Install dependencies
run: npm install
Expand All @@ -113,8 +119,6 @@ jobs:

- name: Commit
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add .
git commit -m "Release ${{ needs.setup_release.outputs.release_version }}"
Expand Down
6 changes: 1 addition & 5 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# Ignore JetBrains IDE files
.idea/

# Ignore node_modules
node_modules/
package.json
package-lock.json

# Ignore test coverage
junit.xml
coverage/

# this file must not have dist or it will not be published
!dist/

0 comments on commit 771da16

Please sign in to comment.