Skip to content

Update Build

Update Build #379

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ci:
name: ${{ matrix.node_version }}
if: ${{ github.actor != 'RWT-bot' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node_version: [18, 20]
steps:
- uses: actions/checkout@v4
env:
TOKEN: "${{ github.event_name == 'push' && endsWith(github.ref, 'develop') && matrix.node_version == 20 && secrets.RWT_BOT_PAT || github.token }}"
with:
token: ${{ env.TOKEN }}
- uses: actions/setup-node@v4
with:
cache: npm
node-version: ${{ matrix.node_version }}
- name: Install grunt-cli
run: npm install -g grunt-cli
- name: Install
run: npm install
- name: Build
run: npm run build
- uses: stefanzweifel/git-auto-commit-action@v5
if: ${{ github.event_name == 'push' && endsWith(github.ref, 'develop') && matrix.node_version == 20 }}
with:
commit_message: Update Build
file_pattern: 'build/*.js'