- move pr collection into npm module
(publish without any furhter notes or docs) - refactor action to use npm dependency
This commit is contained in:
@@ -33,10 +33,20 @@ jobs:
|
||||
node-version: 16.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: |
|
||||
cd pr-collector
|
||||
npm ci
|
||||
|
||||
cd ..
|
||||
npm ci
|
||||
|
||||
- name: Rebuild the dist/ directory
|
||||
run: |
|
||||
cd pr-collector
|
||||
npm run build
|
||||
npm run package
|
||||
|
||||
cd ..
|
||||
npm run build
|
||||
npm run package
|
||||
|
||||
|
||||
@@ -28,6 +28,10 @@ jobs:
|
||||
|
||||
- name: Run NPM
|
||||
run: |
|
||||
cd pr-collector
|
||||
npm run all
|
||||
|
||||
cd ..
|
||||
npm run all
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user