36 lines
760 B
YAML
Raw Permalink Normal View History

2021-09-27 17:24:28 +02:00
name: Release Packages
2019-10-30 16:43:05 +01:00
on:
2021-09-27 17:37:22 +02:00
workflow_dispatch:
2019-10-30 16:43:05 +01:00
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/setup-node@v4.2.0
2019-10-30 16:43:05 +01:00
with:
node-version: 20
2019-10-30 16:43:05 +01:00
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Readmes
run: npm run readmes
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/setup-node@v4.2.0
2019-10-30 16:43:05 +01:00
with:
node-version: 20
2019-10-30 16:43:05 +01:00
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run shipit
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}