Update deno for fe #6
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: Deploy | |
on: | |
push: | |
branches: dangvanthanh/hono | |
pull_request: | |
branches: dangvanthanh/hono | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Cache .deno/ | |
id: cache-deno | |
uses: actions/cache@v3 | |
with: | |
path: .deno/ | |
key: ${{ runner.os }}-deno | |
- name: Cache node_modules/ | |
id: cache-node-modules | |
uses: actions/cache@v3 | |
with: | |
path: node_modules/ | |
key: ${{ runner.os }}-node-modules | |
- name: Install Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Build production | |
env: | |
DENO_DIR: .deno | |
run: deno task build | |
- name: Deploy to Deno Deploy | |
uses: denoland/deployctl@v1 | |
with: | |
project: vue-shopping-cart | |
root: dist | |
entrypoint: https://deno.land/[email protected]/http/file_server.ts |