Skip to content

Fix a bug where Task interface is not exported #129

Fix a bug where Task interface is not exported

Fix a bug where Task interface is not exported #129

Workflow file for this run

name: release-next
on:
push:
branches:
- develop
- feature/*
jobs:
publish-next:
if: "github.repository == 'd-velop/dvelop-sdk-node'"
name: Publish to npm as next
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install npm dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Set release credentials
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish code to npm
run: npm run publish:next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}