Skip to content

Node CI

Node CI #1749

Workflow file for this run

name: Node CI
on:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: npm install, update
run: |
npm ci
npm run build --if-present
cp ./dist/index.css ./index.css
cp ./dist/index.html ./index.html
git config --local user.email "info@appleple.com"
git config --local user.name "atsu666"
git commit -m "chore(update) periodical update" -a
env:
CI: true
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}