mirror of
https://github.com/morluto/rea.git
synced 2026-12-04 05:51:06 +00:00
* build(deps): bump actions/checkout from 4.4.0 to 7.0.1 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.4.0 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.4.0...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * test(ci): identify the trusted checkout independently of its release * test(ci): narrow workflow step uses before matching checkout --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
42 lines
1.4 KiB
YAML
42 lines
1.4 KiB
YAML
name: Website checks
|
|
|
|
on:
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check:
|
|
name: Website checks
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Check out the repository
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- name: Set up Python for website assets
|
|
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
with:
|
|
python-version: "3.12"
|
|
cache: pip
|
|
cache-dependency-path: website/requirements.txt
|
|
- name: Set up Node.js for skill discovery and Worker checks
|
|
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
with:
|
|
package-manager-cache: false
|
|
node-version-file: .nvmrc
|
|
- name: Install website build dependencies
|
|
run: |
|
|
npm ci --omit=dev --ignore-scripts
|
|
installed() {
|
|
[[ "$(dpkg-query -W -f='${db:Status-Status}' "$1" 2>/dev/null)" == installed ]]
|
|
}
|
|
if ! installed libcairo2 || ! installed fonts-dejavu-core; then
|
|
sudo apt-get update
|
|
sudo apt-get install --no-install-recommends -y libcairo2 fonts-dejavu-core
|
|
fi
|
|
python3 -m pip install -r website/requirements.txt
|
|
- name: Check shared HTML, links, assets and contributor workflows
|
|
run: python3 scripts/website.py check
|