Merge branch 'jumoel/new-layout' #24
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 | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
cache-version: 0 # Increment this number if you need to re-download cached gems | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
cache: "npm" | |
- name: Install dependencies | |
run: | | |
bundle install | |
npm install | |
- name: Build CSS | |
run: npm run css | |
- name: Build with Jekyll | |
run: npm run site -- --baseurl "${{ steps.pages.outputs.base_path }}" | |
env: | |
JEKYLL_ENV: production |