Skip to content

Build

Build #982

Workflow file for this run

name: Build
on:
push:
branches: [main]
schedule:
- cron: "00 13 * * *"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- run: npm run fetchEvents
- run: npm run build
- name: Commit events-data.ts
run: |
git status
git config --global user.name 'Newwwie Bot'
git config --global user.email '[email protected]'
git add src/js/events/events-data.ts
git add dist
git commit -m "Get latest set of Meetup events"
git push