doc update #104
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
## https://github.com/devcontainers/ci/blob/main/docs/github-action.md | |
## Our purpose here is only to check that the devcontainer remains valid, cached and current. | |
## So | |
## - We will not run the tests. We only build on push to main. | |
## | |
permissions: write-all | |
name: 'vs_code_container' | |
on: | |
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: | |
# Change this to point to your image name | |
imageName: ghcr.io/quafadas/scala-js-live-server | |
# Change this to be your CI task/script | |
runCmd: | | |
# Add multiple commands to run if needed | |
cs version | |
mill -v | |
mill __.compile |