UNPKG

influx

Version:
31 lines (30 loc) • 814 B
name: Release on: push: branches: - master jobs: release: name: Release runs-on: ubuntu-18.04 if: github.repository == 'node-influx/node-influx' steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Reconfigure Git to use HTTP authentication run: > git config --global url."https://github.com/".insteadOf ssh://git@github.com/ - name: Setup Node.js uses: actions/setup-node@v2 with: node-version: 16 - name: Install dependencies run: npm ci - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npm run clean && npm run build:dist && npx semantic-release