diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml deleted file mode 100644 index e30fa7e..0000000 --- a/.github/workflows/node.js.yml +++ /dev/null @@ -1,58 +0,0 @@ -# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: Node.js CI - -#on: -# push: -# branches: [ master ] -# paths-ignore: -# - 'README.md' -# - 'screenshots/**' -# - 'LICENSE' - -on: - workflow_dispatch - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [16.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - - run: npm run build --if-present - - run: zip release.zip $(find build) - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release V1.0 - draft: false - prerelease: false - owner: ${{ github.actor }} - - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./release.zip - asset_name: release.zip - asset_content_type: application/zip diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index c553775..1a6615a 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -58,6 +58,9 @@ jobs: major_pattern: "(MAJOR)" # Same as above except indicating a minor change, supports regular expressions wrapped with '/' minor_pattern: "(MINOR)" + # Indicate whether short tags like 'v1' should be supported. If false only full + # tags like 'v1.0.0' will be recognized. + short_tags: true # A string to determine the format of the version output format: "${major}.${minor}.${patch}" # If this is set to true, *every* commit will be treated as a new version.