Skip to content

init

init #6

Workflow file for this run

name: publish
on:
push:
branches: [main]
jobs:
ts-standard-publish:
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.9.0
- run: pnpm install
- run: pnpm pack
- run: pnpm publish --registry https://npm.pkg.github.com --access restricted
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: ConorMacBride/install-package@v1
# with:
# apt: just
# - uses: actions/setup-node@v4
# with:
# node-version: 22.7.0
# registry-url: https://npm.pkg.github.com
# cache: pnpm
# - run: just ts-standard-install
# - run: just ts-standard-build
# - uses: simenandre/publish-with-pnpm@v2
# with:
# npm-auth-token: ${{ secrets.GITHUB_TOKEN }}