diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 07f3236f..870c13d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: 'npm publish && test' +name: Release on: push: @@ -26,5 +26,7 @@ jobs: - run: npm version - run: npm install - run: npm publish --access public + - run: npx changelogithub env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 00c6e2d8..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Release - -permissions: - contents: write - -on: - push: - tags: - - 'release*' - -jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - uses: actions/setup-node@v3 - with: - node-version: 16.x - - - run: npx changelogithub - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index 5102349d..c2e5d3aa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zeed", "type": "module", - "version": "0.15.11", + "version": "0.15.12", "description": "🌱 Simple foundation library", "author": { "name": "Dirk Holtwick",