Skip to content

Use devcontainer for CI #41

Use devcontainer for CI

Use devcontainer for CI #41

Workflow file for this run

name: Pull Request on Branch Push
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and run dev container task
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/lolmaus/lolma.us-sveltekit-devcontainer
runCmd: |
pnpm i
pnpm run lint
pnpm run build