Skip to content

Merge pull request #78 from daniel-sc/inline-xliff-simple-merge #152

Merge pull request #78 from daniel-sc/inline-xliff-simple-merge

Merge pull request #78 from daniel-sc/inline-xliff-simple-merge #152

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
angular-version: [13.1.4, 14.0.2, 15.0.3, 16.2.0, 17.0.0-next.0]
exclude:
- node-version: 12.x
- node-version: 18.x
include:
- angular-version: 13.1.4
devkit-version: 0.1301.4
- angular-version: 13.1.4
devkit-version: 0.1301.4
node-version: 12.x
- angular-version: 14.0.2
devkit-version: 0.1400.2
- angular-version: 15.0.3
devkit-version: 0.1500.3
- angular-version: 16.2.0
devkit-version: 0.1602.1
- angular-version: 16.2.0
devkit-version: 0.1602.1
node-version: 18.x
- angular-version: 17.0.0-next.0
devkit-version: 0.1700.0-next.0
- angular-version: 17.0.0-next.0
devkit-version: 0.1700.0-next.0
node-version: 18.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i --package-lock-only "@angular-devkit/architect@${{ matrix.devkit-version }}" "@angular-devkit/core@${{ matrix.angular-version }}" "@angular-devkit/schematics@${{ matrix.angular-version }}" "@schematics/angular@${{ matrix.angular-version }}"
- run: npm ci
- run: npm run build
- run: npm run test-coverage
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.node-version }}
parallel: true
finish:
needs: build
runs-on: ubuntu-22.04
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true