chore(deps): update dependency @types/node to v22.9.1 #955
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
name: Playwright Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
KUBECONFIG: /home/runner/.kube/config | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .tool-versions | |
- name: Setup elixir | |
id: beam | |
uses: erlef/setup-beam@v1 | |
with: | |
version-file: .tool-versions | |
version-type: strict | |
install-rebar: true | |
install-hex: true | |
- name: install livebook | |
# run: mix escript.install --force hex livebook | |
run: mix escript.install --force github livebook-dev/livebook | |
- uses: engineerd/setup-kind@v0.5.0 | |
id: kind | |
with: | |
version: v0.24.0 | |
name: kino-k8s | |
- name: Install dependencies | |
run: npm ci | |
working-directory: ./assets | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
working-directory: ./assets | |
- name: Run livebook | |
env: | |
LIVEBOOK_TOKEN_ENABLED: 0 | |
run: livebook server & | |
- name: Run Playwright tests | |
env: | |
KUBECONTEXT: "" | |
run: KUBECONFIG="${KUBECONFIG}" npx playwright test | |
working-directory: ./assets | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: assets/playwright-report/ | |
retention-days: 30 |