Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into eladb/typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
eladb committed Feb 19, 2024
2 parents ee163a3 + 6fd317d commit 21ed331
Show file tree
Hide file tree
Showing 79 changed files with 3,963 additions and 80 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .github/workflows/bedrock-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
paths:
- bedrock/**
paths-ignore:
- bedrock/package-lock.json
jobs:
build-bedrock:
runs-on: ubuntu-latest
Expand Down
195 changes: 195 additions & 0 deletions .github/workflows/canary.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
name: Canary Workflow
on:
schedule:
- cron: 0 * * * *
workflow_dispatch: {}
jobs:
canary-bedrock:
name: Test bedrock
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: bedrock
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: bedrock
- name: Test
run: wing test
working-directory: bedrock
canary-checks:
name: Test checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: checks
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: checks
- name: Test
run: wing test
working-directory: checks
canary-fifoqueue:
name: Test fifoqueue
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: fifoqueue
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: fifoqueue
- name: Test
run: wing test
working-directory: fifoqueue
canary-github:
name: Test github
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: github
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: github
- name: Test
run: wing test
working-directory: github
canary-ngrok:
name: Test ngrok
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: ngrok
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: ngrok
- name: Test
run: wing test
working-directory: ngrok
canary-postgres:
name: Test postgres
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: postgres
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: postgres
- name: Test
run: wing test
working-directory: postgres
canary-redis:
name: Test redis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: redis
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: redis
- name: Test
run: wing test
working-directory: redis
canary-sagemaker:
name: Test sagemaker
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: sagemaker
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: sagemaker
- name: Test
run: wing test
working-directory: sagemaker
canary-websockets:
name: Test websockets
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: websockets
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: websockets
- name: Test
run: wing test
working-directory: websockets
2 changes: 2 additions & 0 deletions .github/workflows/checks-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
paths:
- checks/**
paths-ignore:
- checks/package-lock.json
jobs:
build-checks:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/containers-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
paths:
- containers/**
paths-ignore:
- containers/package-lock.json
jobs:
build-containers:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fifoqueue-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
paths:
- fifoqueue/**
paths-ignore:
- fifoqueue/package-lock.json
jobs:
build-fifoqueue:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/github-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
paths:
- github/**
paths-ignore:
- github/package-lock.json
jobs:
build-github:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ngrok-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
paths:
- ngrok/**
paths-ignore:
- ngrok/package-lock.json
jobs:
build-ngrok:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/postgres-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
paths:
- postgres/**
paths-ignore:
- postgres/package-lock.json
jobs:
build-postgres:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/redis-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
paths:
- redis/**
paths-ignore:
- redis/package-lock.json
jobs:
build-redis:
runs-on: ubuntu-latest
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/sagemaker-pull.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: sagemaker-pull
on:
pull_request:
paths:
- sagemaker/**
jobs:
build-sagemaker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: sagemaker
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: sagemaker
- name: Test
run: wing test
working-directory: sagemaker
- name: Pack
run: wing pack
working-directory: sagemaker
55 changes: 55 additions & 0 deletions .github/workflows/sagemaker-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: sagemaker-release
on:
push:
branches:
- main
paths:
- sagemaker/**
paths-ignore:
- sagemaker/package-lock.json
jobs:
build-sagemaker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: sagemaker
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: sagemaker
- name: Test
run: wing test
working-directory: sagemaker
- name: Pack
run: wing pack
working-directory: sagemaker
- name: Get package version
run: echo WINGLIB_VERSION=$(node -p "require('./package.json').version") >>
"$GITHUB_ENV"
working-directory: sagemaker
- name: Publish
run: npm publish --access=public --registry https://registry.npmjs.org --tag
latest *.tgz
working-directory: sagemaker
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Tag commit
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
tag: sagemaker-v${{ env.WINGLIB_VERSION }}
- name: GitHub release
uses: softprops/action-gh-release@v1
with:
name: sagemaker v${{ env.WINGLIB_VERSION }}
tag_name: sagemaker-v${{ env.WINGLIB_VERSION }}
files: "*.tgz"
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/vite-pull.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: vite-pull
on:
pull_request:
paths:
- vite/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: vite
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install
working-directory: vite
- name: Test
run: wing test
working-directory: vite
Loading

0 comments on commit 21ed331

Please sign in to comment.