Skip to content

ci: update workflows #257

ci: update workflows

ci: update workflows #257

Workflow file for this run

name: CI (Grunt)
on:
push:
workflow_dispatch:
concurrency:
group: ci-grunt-${{ github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: "18"
jobs:
build:
name: Run Grunt tasks
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v3.3.0
- name: Set up Node.js environment
uses: actions/setup-node@v3.6.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run postinstall scripts
run: npm rebuild && npm run prepare --if-present
- name: Run build tasks
run: npm run build