Skip to content

Commit

Permalink
fix pipeline publish-npm
Browse files Browse the repository at this point in the history
  • Loading branch information
paullobofynd committed Sep 26, 2024
1 parent eaec383 commit 63f0d0e
Show file tree
Hide file tree
Showing 8 changed files with 991 additions and 475 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,15 @@ jobs:
npm_version=$(node -p "require('./package.json').version")
echo "NPM_VERSION=$npm_version" >> $GITHUB_ENV
echo "New version: $npm_version" # Add this line to debug
- name: DEBUG STEP
- name: Get new version
run: echo "$NPM_VERSION"

- name: Install Dependencies
run: rm -rf package-lock.json && rm -rf dist && npm install
run: rm -rf dist && npm ci

- name: List Files
run: ls -R

- name: Build Package
run: npm run build-bundle
Expand All @@ -51,9 +54,6 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Get new version
run: echo "$NPM_VERSION"

- name: Publish Package
run: npm publish

Expand Down
722 changes: 490 additions & 232 deletions dist/nitrozen.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.common.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.css

Large diffs are not rendered by default.

722 changes: 490 additions & 232 deletions dist/nitrozen.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.umd.min.js.map

Large diffs are not rendered by default.

0 comments on commit 63f0d0e

Please sign in to comment.