From 2bab5eed2e7e33b702f5a631616d4a6d216c86ab Mon Sep 17 00:00:00 2001 From: Abbe Keultjes Date: Wed, 17 Aug 2022 16:30:08 +0200 Subject: [PATCH] :construction_worker: add release action --- .github/workflows/deploy.yml | 3 ++- .github/workflows/release.yml | 17 +++++++++++++++++ docs/api/interfaces/HexIterable.md | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 39f40aa1..6d292012 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,8 @@ name: Deploy docs on: push: branches: - - master + # todo: change to master once v4 is released + - beta jobs: deploy: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..954d367c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Create release +on: + push: + branches: + # todo: change to master once v4 is released + - beta +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Semantic Release + uses: cycjimmy/semantic-release-action@v3 + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/docs/api/interfaces/HexIterable.md b/docs/api/interfaces/HexIterable.md index 0b5f8f15..bc319431 100644 --- a/docs/api/interfaces/HexIterable.md +++ b/docs/api/interfaces/HexIterable.md @@ -48,7 +48,7 @@ #### Overrides -Iterable.\_\_@iterator@103 +Iterable.\_\_@iterator@102 #### Defined in