diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..dd954abf2 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +name: "Tag & Deploy Action" + +on: + push: + branches: + - master + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + +# - name: Run Tests +# run: npm run test + + - name: Update v1 Tag + uses: hole19/git-tag-action@master + env: + TAG: v1 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 9aea3500e..000000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "Test action" -on: - pull_request: - push: - branches: - - master - - 'releases/*' - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - - run: npm ci - - run: npm run build - - run: npm test - - uses: ./ - with: - milliseconds: 1000