Skip to content

Commit

Permalink
Merge branch 'release/v0.7.17'
Browse files Browse the repository at this point in the history
  • Loading branch information
musicEnfanthen committed Nov 15, 2021
2 parents 4151106 + 3d8d3ed commit 45e7a2d
Show file tree
Hide file tree
Showing 220 changed files with 3,686 additions and 3,514 deletions.
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Ignore miscellaneous folders
.github/
.idea/
.husky/
.vscode/
.yarn/
node_modules/
coverage/
dist/
node_modules/
tmp/
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
"node": true
},
"overrides": [
{
"files": ["*.js"],
"parserOptions": {
"sourceType": "module"
}
},
{
"files": ["*.ts"],
"parser": "@typescript-eslint/parser",
Expand Down
61 changes: 36 additions & 25 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ name: CI Workflow

on:
push:
branches:
- '**' # trigger on all branches
# trigger on all branches except for dependabot-triggered push events
branches-ignore: [ dependabot/** ]
tags:
- 'v*' # trigger on all tags
paths-ignore:
- '**.md' # ignore changes in markdown files
pull_request:
branches: [ develop ]
types: [ opened, synchronize, reopened ]

jobs:
test:
Expand All @@ -17,14 +19,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12, 14.16, 16]
node-version: [12, 14.17, 16]

steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0 # Get all history and branches

- name: Set up node ${{ matrix.node-version}}
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand All @@ -38,12 +42,19 @@ jobs:
yarn run test:ci
- name: Upload code coverage
if: matrix.node-version == 14.16 # upload coverage report for current node version only
uses: codecov/codecov-action@v2.0.3
if: matrix.node-version == 14.17 # upload coverage report for current node version only
uses: codecov/codecov-action@v2.1.0
with:
flags: unittests
env_vars: ${{ matrix.os }}, ${{ matrix.node-version }}

- name: Perform SonarCloud Analysis
if: matrix.node-version == 14.17 # upload coverage report for current node version only
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Test build for GH Pages (Node < v16)
if: matrix.node-version != 16
run: |
Expand All @@ -67,14 +78,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [ 14.16 ]
node-version: [ 14.17 ]

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Set up node ${{ matrix.node-version}}
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand Down Expand Up @@ -104,23 +115,23 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 14.16 ]
node-version: [ 14.17 ]

steps:
- name: Get tag version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}

- name: Create Release
id: create_release
if: ${{ success() && startsWith(github.ref, 'refs/tags/') }}
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_VERSION: ${{ steps.get_version.outputs.VERSION }}
with:
name: Release ${{ env.TAG_VERSION }}
body: "A prototype web application for the online edition of the [Anton Webern Gesamtausgabe](https://www.anton-webern.ch), located at the Musicological Seminar of the University of Basel. It is written in [Angular](https://angular.io/) and runs on [edition.anton-webern.ch](https://edition.anton-webern.ch).\n\n
- name: Get tag version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}

- name: Create Release
id: create_release
if: ${{ success() && startsWith(github.ref, 'refs/tags/') }}
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_VERSION: ${{ steps.get_version.outputs.VERSION }}
with:
name: Release ${{ env.TAG_VERSION }}
body: "A prototype web application for the online edition of the [Anton Webern Gesamtausgabe](https://www.anton-webern.ch), located at the Musicological Seminar of the University of Basel. It is written in [Angular](https://angular.io/) and runs on [edition.anton-webern.ch](https://edition.anton-webern.ch).\n\n
Changes since last release: https://github.com/${{ github.repository }}/blob/${{ env.TAG_VERSION }}/CHANGELOG.md"
draft: false
prerelease: false
draft: false
prerelease: false
11 changes: 5 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
name: 'CodeQL'

on:
pull_request:
branches: [ develop ]
push:
branches:
- '**'
# Dependabot triggered push events have read-only access, but uploading code
# scanning requires write access.
branches-ignore: [ dependabot/** ]
tags-ignore:
- '*'
paths-ignore:
- '**.md' # ignore changes to markdown files
pull_request:
branches: [ develop ]

jobs:
analyze:
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "avoid",
"jsxBracketSameLine": true,
"bracketSameLine": true,
"printWidth": 120
}
Loading

0 comments on commit 45e7a2d

Please sign in to comment.