Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/docker/extensions/ql-vscode/test/…
Browse files Browse the repository at this point in the history
…e2e/docker/codercom/code-server-4.97.2
  • Loading branch information
norascheuch authored Feb 20, 2025
2 parents 7f260d4 + 0b10736 commit 7c2cce9
Show file tree
Hide file tree
Showing 4 changed files with 308 additions and 250 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/build-storybook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Build Storybook

on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- main

permissions: {}

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: extensions/ql-vscode/.nvmrc

- name: Install dependencies
run: |
cd extensions/ql-vscode
npm ci
shell: bash

- name: Build Storybook
run: |
cd extensions/ql-vscode
npm run build-storybook
shell: bash

- name: Upload to GitHub Pages
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: extensions/ql-vscode/storybook-static

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Run E2E Playwright tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
Expand Down
Loading

0 comments on commit 7c2cce9

Please sign in to comment.