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.
- Loading branch information
1 parent
063327c
commit dcbb5ee
Showing
15 changed files
with
334 additions
and
234 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +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@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 | ||
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,31 +1,31 @@ | ||
name: Deploy extension | ||
|
||
on: | ||
push: | ||
tags: | ||
- "ext-*" | ||
push: | ||
tags: | ||
- 'ext-*' | ||
|
||
jobs: | ||
publish-marketplace: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
publish-marketplace: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Install Corepack | ||
run: corepack install | ||
- name: Install Corepack | ||
run: corepack install | ||
|
||
- name: Install | ||
run: yarn install --immutable | ||
working-directory: ./vscode-extension | ||
- 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 }} | ||
- 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,42 +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: [20.x] | ||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- name: Checkout project | ||
uses: actions/checkout@v4 | ||
steps: | ||
- name: Checkout project | ||
uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
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: Enable Corepack | ||
run: corepack enable | ||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Install Corepack | ||
run: corepack install | ||
- name: Install Corepack | ||
run: corepack install | ||
|
||
- name: Install dependencies | ||
run: yarn install --immutable | ||
- name: Install dependencies | ||
run: yarn install --immutable | ||
|
||
- name: Build | ||
run: yarn build | ||
- name: Build | ||
run: yarn build | ||
|
||
- name: Lint | ||
run: yarn lint | ||
- name: Unit tests | ||
run: yarn test | ||
- name: Lint | ||
run: yarn lint | ||
|
||
- 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 |
---|---|---|
|
@@ -18,4 +18,5 @@ packages/*/dist | |
packages/*/lib | ||
|
||
.yarn | ||
tsconfig.tsbuildinfo | ||
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
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
Oops, something went wrong.