Merge branch 'hotfix/1.2.4' #38
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: Node.js CI | |
on: | |
push: | |
branches: | |
# "**"" matching arbitary branches | |
- '**' | |
tags-ignore: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x, 14.x, 15.x] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install git-flow (AVH) | |
run: sudo apt install git-flow | |
- run: git config --global user.email "[email protected]" | |
- run: git config --global user.name "example" | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Build project | |
run: npm run build --if-present | |
- name: Analyse project | |
run: npm run lint | |
# - name: Test project | |
# run: npm test |