Skip to content

Node.js CI

Node.js CI #1203

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches:
- dev
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.2
with:
version: 6.32.10
- run: pnpm i
- run: export GH_TOKEN=${{ secrets.GH_TOKEN }}; npm run sync; node scripts/fill-release-dates.js;
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: ":robot: Sync Services!"
branch: ${{ github.head_ref }}