Skip to content

Update deno for fe

Update deno for fe #6

Workflow file for this run

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