Merge pull request #719 from hyoo-ru/fix-git #1907
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mol_text_distance | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/mol_text_distance.yml' | |
- 'text/**' | |
- 'build/**' | |
pull_request: | |
schedule: | |
- cron: "0 7 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build apps | |
uses: hyoo-ru/mam_build@master2 | |
with: | |
package: mol | |
modules: text/distance | |
- uses: JS-DevTools/npm-publish@v1 | |
if: ${{ github.ref == 'refs/heads/master' }} | |
with: | |
token: ${{ secrets.NPM_AUTH_TOKEN }} | |
package: ./mol/text/distance/-/package.json |