Skip to content

Commit

Permalink
2.4.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
karamem0 committed Jan 25, 2025
1 parent d08ca1d commit 067eff9
Show file tree
Hide file tree
Showing 160 changed files with 2,414 additions and 3,381 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
required: true
type: string

permissions:
contents: read

jobs:
run:
name: Run
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
required: true
type: string

permissions:
contents: read

jobs:
run:
name: Run
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
required: true
type: string

permissions:
contents: read

jobs:
run:
name: Run
Expand All @@ -17,11 +20,11 @@ jobs:
name: build
path: build
- name: Connect to Azure
uses: azure/login@v2
uses: azure/login@a65d910e8af852a8061c627c456678983e180302
with:
creds: ${{secrets.AZURE_CREDENTIALS}}
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v2
uses: azure/webapps-deploy@de617f46172a906d0617bb0e50d81e9e3aec24c8
with:
app-name: ${{vars.AZURE_APP_SERVICE_NAME}}
package: build
3 changes: 3 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
branches:
- develop

permissions:
contents: read

jobs:
test:
name: Test source
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
build-source:
name: Build source
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on: workflow_call

permissions:
contents: write

env:
RELEASE_FILE_NAME: Teamtile_${{vars.BUILD_VERSION}}.zip

Expand All @@ -17,7 +20,7 @@ jobs:
shell: pwsh
run: Compress-Archive -Path manifest/* -DestinationPath ${{env.RELEASE_FILE_NAME}}
- name: Create release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
tags:
- v*.*.*

permissions:
contents: read

jobs:
build-manifest:
name: Build manifest
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
required: true
type: string

permissions:
checks: write
contents: read

jobs:
run:
name: Run
Expand Down Expand Up @@ -37,15 +41,15 @@ jobs:
-- NUnit.TestOutputXml=${{github.workspace}}/source/server/test
working-directory: source/server
- name: Upload test results
uses: enricomi/publish-unit-test-result-action/linux@v2
uses: enricomi/publish-unit-test-result-action/linux@170bf24d20d201b842d7a52403b73ed297e6645b
if: always()
with:
files: |
source/client/test/**/*.xml
source/server/test/**/*.xml
check_name: Test results
- name: Upload coverage reports
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3
if: always()
with:
fail_ci_if_error: true
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021-2024 karamem0
Copyright (c) 2021-2025 karamem0

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion source/client/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2021-2024 karamem0
// Copyright (c) 2021-2025 karamem0
//
// This software is released under the MIT License.
//
Expand Down
2 changes: 1 addition & 1 deletion source/client/jest.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2021-2024 karamem0
// Copyright (c) 2021-2025 karamem0
//
// This software is released under the MIT License.
//
Expand Down
8 changes: 7 additions & 1 deletion source/client/jest.setup.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2021-2024 karamem0
// Copyright (c) 2021-2025 karamem0
//
// This software is released under the MIT License.
//
Expand All @@ -14,5 +14,11 @@ import fetchMock from 'jest-fetch-mock';
fetchMock.enableMocks();
// Mock env
jest.mock('./src/env', () => ({}));
// Mock IntersectionObserver
global.IntersectionObserver = jest.fn().mockImplementation(() => ({
observe: jest.fn(),
unobserve: jest.fn(),
disconnect: jest.fn()
}));
// Text decoder
globalThis.TextDecoder = TextDecoder;
Loading

0 comments on commit 067eff9

Please sign in to comment.