only deploy github pages on version tags

update nodejs version for changeset release
This commit is contained in:
hzrd149 2024-09-02 20:30:13 -05:00
parent 2d74bc79f6
commit f791550ad6
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,8 @@ name: GitHub Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
tags:
- "v*.*.*"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

View File

@ -19,10 +19,10 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js 18
- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Install Dependencies
run: yarn