diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index bdb8d0d..5d7d73c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,6 +16,18 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ + + - name: Install dependencies + run: yarn install --ignore-scripts + + # TODO: Add semantic-release and change trigger conditions + # - name: Create Release + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + # run: | + # yarn release + - run: yarn publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}