Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add css workflow #88

Merged
merged 2 commits into from
Jan 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
node-version: ${{ env.node-version }}
cache: "npm"
- name: Install Dependencies
run: npm install
run: npm clean-install
- name: Validate JS Sources
run: npm run validate:js
stylelint:
Expand All @@ -48,16 +48,36 @@ jobs:
node-version: ${{ env.node-version }}
cache: "npm"
- name: Install Dependencies
run: npm install
run: npm clean-install
- name: Validate CSS Sources
run: npm run validate:css
css-is-up-to-date:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version: ${{ env.node-version }}
cache: "npm"
- name: Install Dependencies
run: npm clean-install
- name: Compile CSS
run: npm run compile:css
- name: Compare
run: git diff --exit-code
package-lock-is-up-to-date:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version: ${{ env.node-version }}
cache: "npm"
- run: npm install --ignore-scripts
- run: git diff --exit-code
- name: Install Dependencies
run: npm install --ignore-scripts
- name: Compare
run: git diff --exit-code
Loading