Merge pull request #691 from lean-ja/Seasawher/issue649 #24
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: Validate Devcontainer | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.devcontainer/**' | |
- '.github/workflows/devcontainer.yml' | |
push: | |
branches: | |
- main | |
paths: | |
- '.devcontainer/**' | |
- '.github/workflows/devcontainer.yml' | |
schedule: | |
- cron: "0 0 5 * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: install devcontainer cli | |
run: npm install -g @devcontainers/cli | |
- name: build devcontainer | |
run: devcontainer build --workspace-folder . |