Skip to content

Update dependency css-loader to v7 #3219

Update dependency css-loader to v7

Update dependency css-loader to v7 #3219

Workflow file for this run

name: ASF-WebConfigGenerator-ci
on: [push, pull_request]
env:
NODE_JS_VERSION: 'lts/*'
permissions:
contents: write
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4.1.6
with:
show-progress: false
token: ${{ secrets.ARCHIBOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- name: Setup Node.js with npm
uses: actions/setup-node@v4.0.2
with:
check-latest: true
node-version: ${{ env.NODE_JS_VERSION }}
- name: Verify Node.js
run: node -v
- name: Verify npm
run: npm -v
- name: Install npm modules for ASF-WebConfigGenerator
run: npm ci --no-progress
- name: Build ASF-WebConfigGenerator
run: npm run-script build --no-progress
- name: Upload ASF-WebConfigGenerator
uses: actions/upload-artifact@v4.3.3
with:
if-no-files-found: error
name: ${{ matrix.os }}_ASF-WebConfigGenerator
path: docs
- name: Import GPG key
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && startsWith(matrix.os, 'ubuntu-') }}
uses: crazy-max/ghaction-import-gpg@v6.1.0
with:
gpg_private_key: ${{ secrets.ARCHIBOT_GPG_PRIVATE_KEY }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Deploy ASF-WebConfigGenerator
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && startsWith(matrix.os, 'ubuntu-') }}
shell: sh
run: |
set -eu
git add -A "docs"
if ! git diff --cached --quiet; then
git commit -m "Automatic ASF-WebConfigGenerator deployment"
fi
- name: Push changes
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && startsWith(matrix.os, 'ubuntu-') }}
uses: ad-m/github-push-action@v0.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}