Skip to content

init

init #38

Workflow file for this run

name: publish
on:
push:
branches: [main]
jobs:
docs-publish:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ConorMacBride/install-package@v1
with:
apt: just
- uses: pnpm/action-setup@v4
with:
version: 9.9.0
- uses: actions/setup-node@v4
with:
node-version: 22.7.0
cache: pnpm
- run: just install
- run: just docs-build
- uses: actions/upload-pages-artifact@v3
with:
path: docs
docs-deploy:
runs-on: ubuntu-24.04
needs: docs-publish
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
# ts-standard-publish:
# runs-on: ubuntu-24.04
# permissions:
# contents: read
# packages: write
# steps:
# - uses: actions/checkout@v4
# - uses: ConorMacBride/install-package@v1
# with:
# apt: just
# - uses: pnpm/action-setup@v4
# with:
# version: 9.9.0
# - uses: actions/setup-node@v4
# with:
# node-version: 22.7.0
# cache: pnpm
# - run: just ts-standard-install
# - run: echo 'token'
# - run: echo ${{ secrets.GITHUB_TOKEN }}
# - run: echo '//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} @esrathkkm:registry=https://npm.pkg.github.com/' > ~/.npmrc
# - run: pnpm publish -r --filter tagup-ts-standard --access restricted --no-git-checks --registry=https://npm.pkg.github.com/
# env:
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}