experimental translation files for en and de #104
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 and Test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 19.x] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: create Backstop Reference | |
run: | | |
npm ci | |
npm run backstop:reference | |
- name: npm install, build, and test | |
id: npm | |
run: | | |
npm run build --if-present | |
npm test | |
continue-on-error: true | |
env: | |
CI: true | |
- name: Archive reports | |
uses: actions/upload-artifact@v2 | |
if: steps.npm.outcome == 'failure' | |
with: | |
name: reports | |
if-no-files-found: 'ignore' | |
path: | | |
report/backstopjs/ci_report/xunit.xml | |
report/eslint.xml | |
report/stylelint.txt | |
- name: Check Result | |
if: steps.npm.outcome == 'failure' | |
run: exit 1 |