forked from xvrh/localize-with-spreadsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from AckeeCZ/feat/application-default-credential
✨ Add support for application default credentials
- Loading branch information
Showing
83 changed files
with
19,712 additions
and
19,982 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,58 @@ | ||
name: Deploy documentation web | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
# Allows you to run this workflow manually from the Actions tab on GitHub. | ||
workflow_dispatch: | ||
push: | ||
branches: [master] | ||
# Allows you to run this workflow manually from the Actions tab on GitHub. | ||
workflow_dispatch: | ||
|
||
# Allow this job to clone the repo and create a page deployment | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout your repository using git | ||
uses: actions/checkout@v2 | ||
# We can't use https://github.com/withastro/action as it install dependencies | ||
# at root directory, not the defined sub path | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: yarn | ||
|
||
- name: Install | ||
shell: "bash" | ||
run: yarn install | ||
|
||
- name: Build | ||
shell: "bash" | ||
working-directory: ./docs/web | ||
run: yarn build | ||
|
||
- name: Upload Pages Artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: "./docs/web/dist/" | ||
|
||
deploy: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout your repository using git | ||
uses: actions/checkout@v4 | ||
# We can't use https://github.com/withastro/action as it install dependencies | ||
# at root directory, not the defined sub path | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: yarn | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Install Corepack | ||
run: corepack install | ||
|
||
- name: Install | ||
shell: 'bash' | ||
run: yarn install --immutable | ||
|
||
- name: Build | ||
shell: 'bash' | ||
working-directory: ./docs/web | ||
run: yarn build | ||
|
||
- name: Upload Pages Artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: './docs/web/dist/' | ||
|
||
deploy: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,31 @@ | ||
name: Deploy extension | ||
|
||
on: | ||
push: | ||
tags: | ||
- "ext-*" | ||
push: | ||
tags: | ||
- 'ext-*' | ||
|
||
jobs: | ||
publish-marketplace: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16" | ||
publish-marketplace: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install | ||
run: yarn install --frozen-lockfile | ||
working-directory: ./vscode-extension | ||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Deploy to marketplace | ||
run: yarn deploy | ||
working-directory: ./vscode-extension | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCODE_SECRET }} | ||
- name: Install Corepack | ||
run: corepack install | ||
|
||
- name: Install | ||
run: yarn install --immutable | ||
working-directory: ./vscode-extension | ||
|
||
- name: Deploy to marketplace | ||
run: yarn deploy | ||
working-directory: ./vscode-extension | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCODE_SECRET }} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,42 @@ | ||
name: Tests | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- name: Checkout project | ||
uses: actions/checkout@v2 | ||
steps: | ||
- name: Checkout project | ||
uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | ||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn bootstrap | ||
- name: Install Corepack | ||
run: corepack install | ||
|
||
- name: Build | ||
run: yarn build | ||
- name: Install dependencies | ||
run: yarn install --immutable | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
- name: Build | ||
run: yarn build | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
- name: Lint | ||
run: yarn lint | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- name: Install dependencies | ||
run: yarn bootstrap | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
- name: Lint | ||
run: yarn lint | ||
|
||
- name: Unit tests | ||
run: yarn test | ||
- name: Unit tests | ||
run: yarn test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,6 @@ tmp/ | |
packages/*/dist | ||
packages/*/lib | ||
|
||
.yarn | ||
tsconfig.tsbuildinfo | ||
.turbo |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"packages/*/src/**/*.(ts|tsx)": "yarn lint", | ||
"packages/*/(src|test)/**/*.(ts|tsx)": "yarn prettier" | ||
"packages/*/(src|test)/**/*.(ts|tsx)": "yarn format" | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
compressionLevel: 0 | ||
|
||
defaultSemverRangePrefix: "" | ||
|
||
enableHardenedMode: true | ||
|
||
enableInlineHunks: true | ||
|
||
enableTelemetry: false | ||
|
||
networkConcurrency: 100 | ||
|
||
nmHoistingLimits: none | ||
|
||
nmSelfReferences: false | ||
|
||
nodeLinker: node-modules | ||
|
||
preferInteractive: true |
Oops, something went wrong.