File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,31 @@ jobs:
1616 - name : 🛠 Setup node
1717 uses : actions/setup-node@v3
1818 with :
19- node-version : ' 16.x'
19+ node-version : " 16.x"
2020 always-auth : true
21- registry-url : ' https://registry.npmjs.org'
21+ registry-url : " https://registry.npmjs.org"
2222
2323 - uses : pnpm/action-setup@v2
2424 name : 📥 Download deps
2525 with :
2626 version : 8
2727 run_install : true
2828
29+ - name : 🐳 Setup Docker
30+ uses : docker/setup-compose-action@v1
31+
32+ - name : 🚢 Start containers
33+ run : docker compose up -d --build
34+
2935 - name : 🧪 Test
3036 run : pnpm test
3137 env :
32- AWS_ACCESS_KEY_ID : ' test'
33- AWS_SECRET_ACCESS_KEY : ' test'
38+ AWS_ACCESS_KEY_ID : " test"
39+ AWS_SECRET_ACCESS_KEY : " test"
40+
41+ - name : 🛑 Stop containers
42+ if : always()
43+ run : docker compose down
3444
3545 - name : 🏗 Build
3646 run : pnpm build
You can’t perform that action at this time.
0 commit comments