diff --git a/.github/workflows/broccoli-svg-sprite.yml b/.github/workflows/broccoli-svg-sprite.yml new file mode 100644 index 0000000..c4a8c7a --- /dev/null +++ b/.github/workflows/broccoli-svg-sprite.yml @@ -0,0 +1,20 @@ +name: broccoli-svg-sprite + +on: [push] + +env: + NODE_VERSION: 20 + +jobs: + publish: + if: startsWith(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ env.NODE_VERSION }} + registry-url: https://npm.pkg.github.com + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 26ae520..711e616 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. -.* # except !.gitignore !.gitkeep diff --git a/package.json b/package.json index ba93702..7146d22 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "git@github.com:feedbackfruits/broccoli-svg-sprite.git" + "url": "git+ssh://git@github.com/feedbackfruits/broccoli-svg-sprite.git" }, "keywords": [ "broccoli-plugin",