Add Dev Container configuration for easier and more reproducible setup. #12
Workflow file for this run
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: OZTreeModule CI | |
on: | |
push: | |
branches: | |
- main | |
- production | |
tags: | |
- 'v*' | |
pull_request: | |
branches: | |
- main | |
- production | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18.x' | |
- run: npm ci | |
- run: npm run build --if-present | |
- run: npm test |