Javascript-Library/.gitea/workflows/publish.yml
Liam 8c60cd884c
Some checks failed
Publish Package / build (push) Failing after 24s
joe
2024-04-14 22:45:08 +01:00

25 lines
586 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 install
- run: pnpm run build
- run: pnpm run test
- run: pnpm publish --no-git-checks
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}