Skip to content

Bump actions/checkout from 3 to 4 #132

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #132

Workflow file for this run

name: Build
on:
pull_request:
branches:
- master
jobs:
build:
name: Build and commit updated assets
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
# Custom token to allow commits trigger other workflows.
token: ${{ secrets.REPO_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install Node.js dependencies
run: npm ci
- name: Run build command
run: |
npm run build:legacy
npm run build
- name: Commit updated assets files
uses: EndBug/add-and-commit@v9
with:
message: "[auto] Update assets"
add: "js"