mirror of
https://github.com/webislife/wc-wysiwyg.git
synced 2025-07-21 05:47:26 +00:00
initial commut
This commit is contained in:
34
.github/workflows/release-package.yml
vendored
Normal file
34
.github/workflows/release-package.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: wc-wysiwyg package
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm install
|
||||
- run: npm run tsc
|
||||
- run: npm run babel-minify
|
||||
- run: npm run sass
|
||||
|
||||
publish-gpr:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
registry-url: https://npm.pkg.github.com/
|
||||
- run: npm publish --public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
Reference in New Issue
Block a user