不要怂,就是干,撸起袖子干!

Commit 32d1e9e4 by papb

ci: enable semantic-release for v5

1 parent db6d5ec6
Showing with 6 additions and 5 deletions
...@@ -162,12 +162,13 @@ jobs: ...@@ -162,12 +162,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [lint, test-typings, test-sqlite, test-postgres, test-mysql-mariadb, test-mssql] needs: [lint, test-typings, test-sqlite, test-postgres, test-mysql-mariadb, test-mssql]
if: github.event_name == 'push' && github.ref == 'refs/heads/v5' if: github.event_name == 'push' && github.ref == 'refs/heads/v5'
# env: env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: 10.x node-version: 12.x
# - run: npm run semantic-release - run: npm install
- run: echo 'Release would happen here!' - run: npm run semantic-release
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!