aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/css.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/css.yml')
-rw-r--r--.github/workflows/css.yml19
1 files changed, 14 insertions, 5 deletions
diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml
index 71e6042b4..52e93e2b2 100644
--- a/.github/workflows/css.yml
+++ b/.github/workflows/css.yml
@@ -2,13 +2,17 @@ name: CSS
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
+ workflow_dispatch:
env:
FORCE_COLOR: 2
- NODE: 16
+ NODE: 20
+
+permissions:
+ contents: read
jobs:
css:
@@ -16,10 +20,12 @@ jobs:
steps:
- name: Clone repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
- name: Set up Node.js
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"
cache: npm
@@ -29,3 +35,6 @@ jobs:
- name: Build CSS
run: npm run css
+
+ - name: Run CSS tests
+ run: npm run css-test