diff --git a/.gitea/workflows/build-and-pubilsh.yaml b/.gitea/workflows/build-and-pubilsh.yaml index 3b279d4..434b2f5 100644 --- a/.gitea/workflows/build-and-pubilsh.yaml +++ b/.gitea/workflows/build-and-pubilsh.yaml @@ -2,16 +2,13 @@ name: Build and publish on: -- trigger_workflow +- workflow_dispatch jobs: - build: - + build-and-publish: runs-on: ubuntu-latest - env: NPM_PUBLISH_TOKEN: ${{ secrets.NPM_TOKEN }} - steps: - name: Check out the repo uses: actions/checkout@v3 diff --git a/.gitea/workflows/build-and-test.yaml b/.gitea/workflows/build-and-test.yaml index 10d3a7d..f209ee3 100644 --- a/.gitea/workflows/build-and-test.yaml +++ b/.gitea/workflows/build-and-test.yaml @@ -10,14 +10,11 @@ on: - master jobs: - build: - + build-and-test: runs-on: ubuntu-latest - strategy: matrix: node-version: [14.x, 16.x, 18.x, 20.x] - steps: - name: Check out the repo uses: actions/checkout@v3