Skip to content

Actions(deps): Bump actions/checkout from 6.0.1 to 6.0.2 in the actions group #33

Actions(deps): Bump actions/checkout from 6.0.1 to 6.0.2 in the actions group

Actions(deps): Bump actions/checkout from 6.0.1 to 6.0.2 in the actions group #33

Workflow file for this run

name: Build
on:
pull_request:
paths:
- '**.js'
- '**.jsx'
- '**.css'
- '**.scss'
- 'package.json'
- 'package-lock.json'
- 'webpack.config.js'
- '.github/workflows/build.yml'
push:
branches:
- develop
- main
paths:
- '**.js'
- '**.jsx'
- '**.css'
- '**.scss'
- 'package.json'
- 'package-lock.json'
- 'webpack.config.js'
- '.github/workflows/build.yml'
workflow_dispatch:
permissions:
contents: read
# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build JS assets
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build production assets
run: npm run build