mirror of https://github.com/artf/grapesjs.git
1 changed files with 21 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||||
|
name: Publish package |
||||
|
|
||||
|
on: |
||||
|
release: |
||||
|
types: [created] |
||||
|
|
||||
|
jobs: |
||||
|
publish: |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- uses: actions/checkout@v3 |
||||
|
- uses: actions/setup-node@v3 |
||||
|
with: |
||||
|
node-version: '12.x' |
||||
|
registry-url: 'https://registry.npmjs.org' |
||||
|
cache: 'yarn' |
||||
|
- run: yarn --frozen-lockfile |
||||
|
- run: npm run lint |
||||
|
- run: npm publish |
||||
|
env: |
||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
||||
Loading…
Reference in new issue