chore(release): 3.6.1 #2
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: Build status | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-status: | |
name: Build status on master branch | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Lint | |
uses: wearerequired/[email protected] | |
with: | |
continue_on_error: false | |
auto_fix: false | |
neutral_check_on_warning: false | |
eslint: true | |
eslint_args: src/**/*.ts | |
eslint_extensions: ts | |
prettier: true | |
prettier_args: src/**/*.ts | |
prettier_extensions: ts | |
- name: Test | |
run: npm test | |
- name: Production build | |
run: npm run build:prod |