CI #777
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: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main, beta, alpha] | |
schedule: | |
- cron: '0 3 * * *' | |
permissions: read-all | |
jobs: | |
test_unit: | |
name: Run Test Units | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout code' | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Use Node.js current version | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d | |
with: | |
node-version: current | |
- name: Install dependency | |
run: npm ci | |
- name: Build output | |
run: npm run build | |
- name: Run Test Units | |
run: npm run test |