mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[prettier] auto-fix
This commit is contained in:
12
.github/workflows/azureStorageTests.yml
vendored
12
.github/workflows/azureStorageTests.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
||||
run: |
|
||||
# Wait for Azurite to be ready
|
||||
sleep 15
|
||||
|
||||
|
||||
# Create Azure storage configuration
|
||||
cat > Common/config/local.json << 'EOF'
|
||||
{
|
||||
@ -65,19 +65,19 @@ jobs:
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
|
||||
echo "Azure storage configuration created"
|
||||
|
||||
- name: Create Azure container using Node.js from Common directory
|
||||
run: |
|
||||
# Wait a bit more for Azurite to be fully ready
|
||||
sleep 10
|
||||
|
||||
|
||||
# Run Node.js script from Common directory where Azure dependencies are installed
|
||||
cd Common
|
||||
node -e "
|
||||
const { BlobServiceClient, StorageSharedKeyCredential } = require('@azure/storage-blob');
|
||||
|
||||
|
||||
async function setupContainer() {
|
||||
try {
|
||||
const accountName = 'devstoreaccount1';
|
||||
@ -102,9 +102,9 @@ jobs:
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
setupContainer();
|
||||
"
|
||||
|
||||
- name: Run storage tests
|
||||
run: npm run storage-tests
|
||||
run: npm run storage-tests
|
||||
|
||||
31
.github/workflows/codeql.yaml
vendored
31
.github/workflows/codeql.yaml
vendored
@ -1,4 +1,4 @@
|
||||
name: "CodeQL"
|
||||
name: 'CodeQL'
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -27,23 +27,22 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'javascript-typescript' ]
|
||||
language: ['javascript-typescript']
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: '/language:${{matrix.language}}'
|
||||
|
||||
2
.github/workflows/fsStorageTests.yml
vendored
2
.github/workflows/fsStorageTests.yml
vendored
@ -61,4 +61,4 @@ jobs:
|
||||
}' > Common/config/local.json
|
||||
|
||||
- name: Run storage tests
|
||||
run: npm run storage-tests
|
||||
run: npm run storage-tests
|
||||
|
||||
2
.github/workflows/mysqlDatabaseTests.yml
vendored
2
.github/workflows/mysqlDatabaseTests.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
run: |
|
||||
echo '{"services": {"CoAuthoring": {"sql": {"type": "mysql", "dbHost": "127.0.0.1", "dbPort": "8080", "dbUser": "root", "dbPass": "onlyoffice"}}}}' >> Common/config/local.json
|
||||
|
||||
- name : Creating schema
|
||||
- name: Creating schema
|
||||
run: |
|
||||
docker cp ./schema/mysql/createdb.sql mysql:/
|
||||
docker exec mysql mysql -h 127.0.0.1 -u root --password=onlyoffice -D onlyoffice -e 'source /createdb.sql'
|
||||
|
||||
2
.github/workflows/s3storageTests.yml
vendored
2
.github/workflows/s3storageTests.yml
vendored
@ -74,4 +74,4 @@ jobs:
|
||||
docker exec minio mc mb myminio/cache
|
||||
|
||||
- name: Run storage tests
|
||||
run: npm run storage-tests
|
||||
run: npm run storage-tests
|
||||
|
||||
Reference in New Issue
Block a user