Skip to content

Commit

Permalink
test with Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leoadec committed Aug 1, 2024
1 parent c8a6ff3 commit e4e2fa8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/html-validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Build with Ruby
run: bundle exec rake build
run: npm run build
- name: Run nu validator
run: docker run --mount type=bind,source=$(pwd)/_site,target=/_site ghcr.io/validator/validator:latest vnu --skip-non-html _site
4 changes: 2 additions & 2 deletions .github/workflows/jekyll-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Build with Ruby
run: |
bundle exec rake build
npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Build with Ruby
- name: Test with Ruby
run: |
bundle exec rake test
npm run test

0 comments on commit e4e2fa8

Please sign in to comment.