Skip to content

Update dependcies

Update dependcies #17

Workflow file for this run

name: Build and Publish
on:
push:
branches:
- main
concurrency: '${{ github.workflow }}-${{ github.ref }}'
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: write
pull-requests: write
issues: read
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- uses: changesets/action@v1
env:
NPM_CONFIG_PROVENANCE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
publish: pnpm publish -r --access public
- uses: actions/upload-pages-artifact@v3
with:
path: ./apps/demo/dist
deploy:
needs: build-and-publish
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deployment
uses: actions/deploy-pages@v4