Skip to content

[build-lib-types] Fix linting in CI by adding a missing await. #29

[build-lib-types] Fix linting in CI by adding a missing await.

[build-lib-types] Fix linting in CI by adding a missing await. #29

Workflow file for this run

name: js.cubing.net
on:
push:
branches: [ main ]
concurrency:
group: pages
cancel-in-progress: true
jobs:
build-pages:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 22.3.0 ]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: "true"
- name: Use `node` v${{ matrix.node-version }}
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node-version }}
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: "latest"
- run: make setup
- run: make build-site-docs
- name: Upload artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: ./dist/sites/js.cubing.net/
retention-days: 1
deploy-pages:
runs-on: ubuntu-latest
needs: build-pages
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
# https://github.com/actions/deploy-pages#usage
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0