Skip to content

Commit

Permalink
feat(html): add better ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbutt committed Feb 21, 2024
1 parent 20d92eb commit 231500b
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions templates/html/github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: CI

on: [push]
on:
push:
branches: [master]

pull_request:
branches: [master]

workflow_dispatch:

jobs:
build:
Expand All @@ -14,4 +21,20 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- uses: pnpm/action-setup@v3
with:
version: 8

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: pnpm

- name: Install
run: pnpm install

0 comments on commit 231500b

Please sign in to comment.