Skip to content

Merge pull request #88 from cyberixae/setup_continuous_deployment #1

Merge pull request #88 from cyberixae/setup_continuous_deployment

Merge pull request #88 from cyberixae/setup_continuous_deployment #1

Workflow file for this run

name: CD
on:
push:
branches:
- main
paths:
- 'package.json'
- '.github/workflows/cd.yml'
env:
NODE_AUTH_TOKEN: ${{ secrets.PUBLIC_NPM_TOKEN }}
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 15
name: publish
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
registry-url: "https://registry.npmjs.org"
- name: Install Dependencies
run: |
yarn
- name: Deploy to Registry
run: |
yarn deploy-npm