Skip to content

Add macOS Terminal export #30

Add macOS Terminal export

Add macOS Terminal export #30

Workflow file for this run

name: Pages
on:
pull_request:
push:
branches:
- master
permissions:
contents: read
concurrency:
group: pages
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Build site
run: npm run build
- name: Upload Pages artifact
if: github.event_name == 'push'
uses: actions/upload-pages-artifact@v5
with:
path: ./dist
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
needs: verify
runs-on: ubuntu-latest
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@v5