updates browser support on css anchor positioning page #182
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: deploy to github pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: install dependencies | |
run: pnpm install | |
- name: build | |
run: pnpm build | |
- name: upload artifacts | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: "dist/" | |
deploy: | |
needs: build | |
runs-on: ubuntu-22.04 | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: deploy | |
id: deployment | |
uses: actions/deploy-pages@v4 |