From 4101095a95ebd71baba8cdca43d3c2829e56adb2 Mon Sep 17 00:00:00 2001 From: Bennett Date: Wed, 11 Dec 2019 11:52:10 +0100 Subject: Add automatic updating --- .github/workflows/nodejs.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/nodejs.yml (limited to '.github') diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..9b6076c --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,28 @@ +name: Node CI + +on: + schedule: + - cron: 0 0 * * 0 + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, and update + run: | + cd scripts + npm install + npm run update + env: + CI: true -- cgit v1.2.3-54-g00ecf