Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/actions/build-info/action.yml

This file was deleted.

88 changes: 0 additions & 88 deletions .github/actions/build-info/index.ts

This file was deleted.

16 changes: 0 additions & 16 deletions .github/actions/build-info/tsconfig.json

This file was deleted.

35 changes: 0 additions & 35 deletions .github/actions/create-release/action.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/actions/create-release/index.ts

This file was deleted.

16 changes: 0 additions & 16 deletions .github/actions/create-release/tsconfig.json

This file was deleted.

18 changes: 0 additions & 18 deletions .github/actions/upload-asset/action.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/actions/upload-asset/index.ts

This file was deleted.

16 changes: 0 additions & 16 deletions .github/actions/upload-asset/tsconfig.json

This file was deleted.

40 changes: 29 additions & 11 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,28 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and github actions
- name: nodejs project information
id: projectinfo
uses: gregoranders/nodejs-project-info@v0.0.4
- name: npm install
run: |
npm install
npm run actions
- name: prebuild
id: prebuild
uses: ./.github/actions/build-info
- name: npm run build
run: |
npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_BRANCH: ${{ github.ref }}
GITHUB_COMMIT: ${{ github.sha }}
- name: npm install, build, test and dist
PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }}
- name: npm test
run: |
npm install
npm run build
npm test
npm run dist
env:
GITHUB_BRANCH: ${{ github.ref }}
GITHUB_COMMIT: ${{ github.sha }}
PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }}
- name: test coverage
if: matrix.os == 'ubuntu-latest'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -56,10 +60,13 @@ jobs:
uses: paambaati/codeclimate-action@v2.3.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
GITHUB_BRANCH: ${{ github.ref }}
GITHUB_COMMIT: ${{ github.sha }}
PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }}
with:
coverageCommand: npm run test
debug: true
- name: integration test
- name: npm run it
if: matrix.os == 'ubuntu-latest'
run: |
ls -lha /dev/shm
Expand All @@ -68,3 +75,14 @@ jobs:
sudo chmod 1777 /dev/shm
npm run build
xvfb-run --auto-servernum -- bash -c "npm run it"
env:
GITHUB_BRANCH: ${{ github.ref }}
GITHUB_COMMIT: ${{ github.sha }}
PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }}
- name: npm run dist
run: |
npm run dist
env:
GITHUB_BRANCH: ${{ github.ref }}
GITHUB_COMMIT: ${{ github.sha }}
PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }}
Loading