Skip to content

Create async-traffic-pulse.yml #5765

Create async-traffic-pulse.yml

Create async-traffic-pulse.yml #5765

name: Continuous Integration
on:
pull_request:
push:
branches:
- gh-pages
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build Docker container
run: docker build .
javascript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: npm install, lint, and test
run: |
npm ci
npm run lint
npm run prettier
npm test
env:
CI: true
site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72
with:
ruby-version: '3.2'
- name: Build and test Jekyll site
run: |
bundle install
bundle exec rubocop
bundle exec jekyll build
bundle exec ruby scripts/validate_data_files.rb