Skip to content

Merge pull request #142 from tgelu/fix/78-empty-ts-files #330

Merge pull request #142 from tgelu/fix/78-empty-ts-files

Merge pull request #142 from tgelu/fix/78-empty-ts-files #330

Workflow file for this run

name: publish
on: push
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm publish
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ~/.npmrc
npm whoami
npm ci
npm run build
npm publish
if: contains(github.ref, 'tags/v')
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
CI: true