Skip to content

add env

add env #117

Workflow file for this run

name: Publish
on:
push:
branches:
- 'main'
- 'next'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- run: git pull
- name: Prepare
uses: ./.github/actions/prepare
with:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build, Version & Publish packages
run: yarn run publish
env:
REF: ${{ github.ref }}
GH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}