diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index d7193d9..d0392fe 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -8,7 +8,7 @@ on: types: [created] jobs: - build: + publish-npm: runs-on: ubuntu-latest steps: - name: Checkout @@ -18,6 +18,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18.18.x + registry-url: https://registry.npmjs.org/ cache: npm - name: Install @@ -26,20 +27,6 @@ jobs: - name: Build run: npm run build - publish-npm: - needs: build - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 18.18.x - registry-url: https://registry.npmjs.org/ - cache: npm - - name: Publish run: npm publish env: diff --git a/package.json b/package.json index bdb026e..85e1f39 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "side-drawer", - "version": "4.0.2", + "version": "4.0.3", "description": "A simple side drawer element with no dependencies and small as possible", "keywords": [ "web component", @@ -15,7 +15,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/wes-goulet/side-drawer" + "url": "git+https://github.com/wes-goulet/side-drawer.git" }, "author": "wes@goulet.dev", "license": "MIT",