chore(deps-dev): bump webpack from 5.67.0 to 5.88.2 #53
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 Deployment | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy-deno: | |
name: Deploy to deno | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # Needed for auth with Deno Deploy | |
contents: read # Needed to clone the repository | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Restore Node.js modules | |
id: cache-node-modules | |
uses: actions/[email protected] | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} | |
- name: Install | |
if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }} | |
run: yarn install | |
- name: Build website | |
run: yarn storybook:build | |
- name: Copy deno.ts | |
run: cp deno.ts storybook-static | |
- name: Upload website to Deno Deploy | |
uses: denoland/deployctl@v1 | |
with: | |
project: "gio-design" | |
entrypoint: "./deno.ts" | |
root: storybook-static |