Merge pull request #615 from ibi-group/location-field-dropdown-id #2503
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
jobs: | |
test-build-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Install npm packages using cache | |
uses: bahmutov/npm-install@v1 | |
- name: Lint code | |
run: yarn lint:js | |
- name: Lint styles | |
run: yarn lint:styles | |
- name: i18n check (en-US, fr only) | |
run: yarn check:i18n-en-fr | |
- name: Type check | |
run: yarn typescript | |
- name: Run tests | |
run: yarn unit | |
- name: Run a11y tests | |
run: yarn a11y-test | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
name: Semantic Release | |
run: yarn semantic-release | |
name: Node.js CI | |
"on": | |
pull_request: null | |
push: | |
branches: | |
- master | |
- alpha | |
- beta | |
- next | |
- next-major | |
- "[0-9]+.[0-9]+.x" | |
- "[0-9]+.x.x" | |
- "[0-9]+.x" |