Skip to content

publish_dev

publish_dev #360

Workflow file for this run

name: publish_dev
on:
schedule:
- cron: "0 */1 * * *"
jobs:
publish:
if: ${{ contains(github.ref_name, 'dev') }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Node.js v18
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Install Dependencies
run: npm install
- name: Publish NPM
run: |
npm publish --no-git-checks --access public --tag dev
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}