🔨 (@bin/commands/cache): Improve command for production mode #2
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: ♾️ Continuous Integration | |
on: [push, pull_request] | |
env: | |
DENO_DIR: ~/.deno | |
ENVIRONMENT: ${{ vars.ENVIRONMENT }} | |
ADMIN_EMAILS: ${{ vars.ADMIN_EMAILS }} | |
ADMIN_PASSWORDS: ${{ vars.ADMIN_PASSWORDS }} | |
jobs: | |
setup: | |
name: 🛠️ Setup Workflow | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
with: | |
path: app | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: vx.x.x | |
path: ${{ env.DENO_DIR }} | |
- name: Cache Dependencies | |
working-directory: ./app | |
run: deno task cache:prod | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
path: app |