diff --git a/.github/workflows/create-indexes.yml b/.github/workflows/create-indexes.yml index e232495..2a0cedf 100644 --- a/.github/workflows/create-indexes.yml +++ b/.github/workflows/create-indexes.yml @@ -40,12 +40,12 @@ jobs: with: folder: ${{github.workspace}}/src/Types - - name: Commit changes + - name: ✏️ Commit changes continue-on-error: true run: | cd ${{github.workspace}} git config --global user.email "Bot@Blockception.com" - git config --global user.name "Blockception[bot]" + git config --global user.name "Orbi[bot]" git add . git commit -m "auto: Generated typescript includes" git push diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 6044100..37aafec 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -1,16 +1,17 @@ name: Dependabot auto-merge on: pull_request_target -concurrency: - group: dependabot-check - cancel-in-progress: false - permissions: pull-requests: write contents: write +concurrency: + group: dependabot-check + cancel-in-progress: false + jobs: dependabot: + name: Dependabot auto merge runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} steps: @@ -19,4 +20,3 @@ jobs: env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index ddb7b26..04e975c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -13,8 +13,13 @@ on: - completed jobs: - build: - runs-on: ubuntu-latest + test: + name: 📋 Test on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macOS-latest] + steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -26,15 +31,16 @@ jobs: cache-dependency-path: package-lock.json node-version-file: .nvmrc - - name: Setup Project + - name: Setup project run: npm ci - name: 📋 Run Tests - run: npm test + run: npm run test publish-npm: - needs: build + needs: test runs-on: ubuntu-latest + name: 🚚 Npm Publish steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -49,7 +55,7 @@ jobs: - name: Setup Project run: npm ci - - name: Npm Publish + - name: 🚚 Npm Publish run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 9639980..bf2c180 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -1,7 +1,7 @@ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages -name: npm-unit-test +name: 📋 Npm Test on: push: @@ -11,14 +11,14 @@ on: branches: - main -jobs: +jobs: test: - name: Test on ${{ matrix.os }} + name: 📋 Test on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - + steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -30,7 +30,8 @@ jobs: cache-dependency-path: package-lock.json node-version-file: .nvmrc - - name: Build + - name: Setup project run: npm ci - - name: Test - run: npm test + + - name: 📋 Run Tests + run: npm run test diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 290acc0..2c299d6 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -1,4 +1,4 @@ -name: "tagged-release" +name: 📑 Release Page on: push: @@ -7,11 +7,12 @@ on: jobs: tagged-release: - name: "Tagged Release" + name: 📑 Release Page runs-on: "ubuntu-latest" steps: - - uses: "marvinpinto/action-automatic-releases@latest" + - name: 📑 Release Page + uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false