npm: bump concurrently from 9.0.0 to 9.0.1 #479
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check builds for pull requests | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: xt0rted/markdownlint-problem-matcher@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install node modules | |
run: yarn | |
- name: Lint markdown files | |
run: yarn lint:md | |
- name: Lint with prettier | |
id: prettier | |
run: yarn lint:prettier | |
- name: Show prettier problems | |
if: ${{ failure() && steps.prettier.conclusion == 'failure' }} | |
run: | | |
yarn lint-fix:prettier | |
git diff | |
build: | |
runs-on: ubuntu-latest | |
env: | |
HUGO_VERSION: 0.135.0 | |
steps: | |
- name: Install Hugo CLI | |
run: | | |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ | |
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build with Hugo | |
run: | | |
hugo mod get -u | |
hugo --debug |