build(deps-dev): bump @types/mocha from 10.0.9 to 10.0.10 #1785
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build_web: | |
name: Build and Test Web | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- run: npm install | |
- run: npm run build | |
- run: npm run test | |
build_csharp: | |
name: Build and Test C# | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8' | |
- run: npm install | |
- run: npm run build-csharp | |
- run: npm run test-csharp | |
build_kotlin: | |
name: Build and Test Kotlin | |
runs-on: windows-latest | |
env: | |
OSSRH_USERNAME: ${{secrets.OSSRH_USERNAME}} | |
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}} | |
OSSRH_USERTOKEN_USERNAME: ${{secrets.OSSRH_USERTOKEN_USERNAME}} | |
OSSRH_USERTOKEN_PASSWORD: ${{secrets.OSSRH_USERTOKEN_PASSWORD}} | |
SONATYPE_STAGING_PROFILE_ID: ${{secrets.SONATYPE_STAGING_PROFILE_ID}} | |
SONATYPE_SIGNING_KEY_ID: ${{secrets.SONATYPE_SIGNING_KEY_ID}} | |
SONATYPE_SIGNING_PASSWORD: ${{secrets.SONATYPE_SIGNING_PASSWORD}} | |
SONATYPE_SIGNING_KEY: ${{secrets.SONATYPE_SIGNING_KEY}} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: '19' | |
distribution: 'temurin' | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-cache-v4-${{ github.job }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle-cache-v4-${{ github.job }}- | |
- run: npm install | |
- run: npm run build-kotlin | |
- run: npm run test-kotlin | |
- run: ./src.kotlin/alphaTab/gradlew --stop |