Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: daily build visx and upload to artifact #30

Merged
merged 4 commits into from
Jan 5, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "CD"

on:
wenytang-ms marked this conversation as resolved.
Show resolved Hide resolved
schedule:
- cron: "0 16 * * *"

jobs:
CD:
runs-on: "ubuntu-latest"
steps:
- name: Validate branch
if: ${{ github.ref != 'refs/heads/dev' }}
wenytang-ms marked this conversation as resolved.
Show resolved Hide resolved
run: |
echo It's not allowed to run CD on other branch except main and dev.
exit 1

- uses: actions/checkout@v2

- uses: actions/setup-node@v3
with:
node-version: 18
wenytang-ms marked this conversation as resolved.
Show resolved Hide resolved

- name: Build visx
run: |
npm install
npx vsce package --no-dependencies

- uses: actions/upload-artifact@v3
with:
name: release
path: |
*.vsix
Loading