Skip to content

make menus similar #502

make menus similar

make menus similar #502

Workflow file for this run

name: build
on:
push:
branches: [ '*' ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
name: Test and Deploy Playground
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- run: export GEM_HOME="$HOME/gems" && export PATH="$HOME/gems/bin:$PATH" && gem install jekyll bundler
- run: export GEM_HOME="$HOME/gems" && export PATH="$HOME/gems/bin:$PATH" && jekyll -h
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: install java
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 17
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
working-directory: sof-js
run: bun install
- name: Check formatting
working-directory: sof-js
run: bun run check-fmt
- name: Validate JSON tests
working-directory: sof-js
run: bun run validate
- name: Run tests
working-directory: sof-js
run: bun run test
continue-on-error: true
- name: Build test report
working-directory: test_report
run: bun install && bun run prepare && bun run build
- name: Build IG
run: export GEM_HOME="$HOME/gems" && export PATH="$HOME/gems/bin:$HOME/.bun/bin:$PATH" && bun i -g fsh-sushi && ./scripts/_updatePublisher.sh -y && ./scripts/_genonce.sh && cp -R test_report/public output/extra
- name: Setup Pages
uses: actions/configure-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
if: ${{ github.ref == 'refs/heads/master' }}
with:
path: 'output'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
if: ${{ github.ref == 'refs/heads/master' }}