Compare commits
No commits in common. "e6387248111fe35696b5375fb6ace41fc91eceeb" and "3b2da358b344bc618698e4e4b5dab3c44b37d064" have entirely different histories.
e638724811
...
3b2da358b3
3 changed files with 10 additions and 24 deletions
|
@ -21,29 +21,18 @@ jobs:
|
||||||
- run: yarn test
|
- run: yarn test
|
||||||
- run: yarn lint
|
- run: yarn lint
|
||||||
|
|
||||||
package:
|
|
||||||
needs: build
|
|
||||||
runs-on: node
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 20.x
|
|
||||||
- run: yarn package
|
|
||||||
- name: Upload Binary
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
path: bin/
|
|
||||||
if-no-files-found: error
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: package
|
needs: build
|
||||||
runs-on: node
|
runs-on: node
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
|
- run: yarn install --frozen-lockfile
|
||||||
|
- run: yarn build
|
||||||
|
- run: yarn package
|
||||||
|
- run: cp -r ./bin ${{ secrets.PROD_REPO_PATH }}
|
||||||
- uses: https://github.com/JS-DevTools/npm-publish@v3
|
- uses: https://github.com/JS-DevTools/npm-publish@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.NPM_TOKEN }}
|
token: ${{ secrets.NPM_TOKEN }}
|
|
@ -4,8 +4,6 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
- release/*
|
|
||||||
- hotfix/*
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -23,7 +21,7 @@ jobs:
|
||||||
- run: yarn test
|
- run: yarn test
|
||||||
- run: yarn lint
|
- run: yarn lint
|
||||||
|
|
||||||
package:
|
rsync:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: node
|
runs-on: node
|
||||||
steps:
|
steps:
|
||||||
|
@ -31,9 +29,7 @@ jobs:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
|
- run: yarn install --frozen-lockfile
|
||||||
|
- run: yarn build
|
||||||
- run: yarn package
|
- run: yarn package
|
||||||
- name: Upload Binary
|
- run: cp -r ./bin ${{ secrets.STAGE_REPO_PATH }}
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
path: bin/
|
|
||||||
if-no-files-found: error
|
|
|
@ -4,6 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- feature/*
|
- feature/*
|
||||||
|
- hotfix/*
|
||||||
- renovate/*
|
- renovate/*
|
||||||
- dependabot/*
|
- dependabot/*
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue