mirror of
https://github.com/soconnor0919/beenpad.git
synced 2026-02-05 00:06:40 -05:00
29 lines
526 B
YAML
29 lines
526 B
YAML
name: Publish Package
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
release:
|
|
types: [created]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
registry-url: 'https://registry.npmjs.org'
|
|
|
|
- name: Update npm
|
|
run: npm install -g npm@latest
|
|
|
|
- run: npm ci
|
|
- run: npm publish --provenance --access public
|