Javascript-Library/.gitea/workflows/publish.yml
Liam 4b613ce966
Some checks failed
Publish Package / build (push) Failing after 9s
workflow
2024-04-14 22:37:02 +01:00

23 lines
516 B
YAML

name: Publish Package
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- run: pnpm ci
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}