Add esbuild for dev to dual package approach. #111
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: Test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Test | |
uses: devcontainers/[email protected] | |
env: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
POST_IMAGES_API_KEY: ${{ secrets.POST_IMAGES_API_KEY }} | |
with: | |
push: never | |
env: | | |
CI | |
OPENAI_API_KEY | |
POST_IMAGES_API_KEY | |
runCmd: | | |
sleep 30 | |
./bin/setup | |
./bin/test |