Skip to content

Update NetTruyen.ts #22

Update NetTruyen.ts

Update NetTruyen.ts #22

Workflow file for this run

on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
name: Bundle and Publish Sources
jobs:
build:
name: Bundle and Publish Sources
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Checkout existing bundles
uses: actions/checkout@v2
continue-on-error: true
with:
ref: gh-pages
path: bundles
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
continue-on-error: true
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Installing project dependencies
run: pnpm install --shamefully-hoist
- name: Building the project
run: pnpm bundle
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: bundles