Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from luongngocminh/dev
Browse files Browse the repository at this point in the history
Nightly publish pipeline
  • Loading branch information
luongngocminh authored Nov 30, 2023
2 parents ec8e289 + a5eabd5 commit 7ca769f
Show file tree
Hide file tree
Showing 62 changed files with 72 additions and 61,153 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish-nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Nighly publish to npm

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: {}
repository_dispatch:
types: [publish-nightly]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: 'Checkout the repository'
uses: 'actions/checkout@v3'

- name: 'Setup Node.js and npm'
uses: './.github/actions/setup'

- name: 'Generate nightly package.json'
run: npm run config:nightly

- run: npm publish --tag nightly
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ pnpmfile.js
# Log files.
*.log
*.log.*

# Dist
dist/
docs/
Loading

0 comments on commit 7ca769f

Please sign in to comment.