Node CI #1661
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: Node CI | |
on: | |
push: | |
schedule: | |
- cron: "0 15 */1 * *" | |
jobs: | |
run: | |
name: Run ebiname | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js 12.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "12.x" | |
- name: npm install, build, and run | |
run: | | |
yarn | |
yarn test | |
yarn start | |
env: | |
TZ: "Asia/Tokyo" | |
MASTODON_HOST: ${{ secrets.MASTODON_HOST }} | |
MASTODON_TOKEN: ${{ secrets.MASTODON_TOKEN }} | |
MASTODON_BOT_TOKEN: ${{ secrets.MASTODON_BOT_TOKEN }} | |
MASTODON_NAME: ${{ secrets.MASTODON_NAME }} |