fear: bumped ts
version and added check for .d.ts
files
#90
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Сode-push CI | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
Run-tests: | |
name: Test code-push-sdk | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup NodeJs | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "14.x" | |
- name: Setup dependencies | |
run: npm run setup | |
- name: Build | |
run: npm run build | |
- name: Run tests | |
run: npm run test | |
build-check: | |
name: Should have declarartion files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup NodeJs | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "14.x" | |
- name: Setup dependencies | |
run: npm run setup | |
- name: Generate Release | |
run: npm run build:release | |
- name: Check For Declaration | |
run: | | |
npm run check:release |