Skip to content

Use latest actions in GH Actions #38

Use latest actions in GH Actions

Use latest actions in GH Actions #38

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
tags:
- 'v*.*.*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16.17.0
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: JamesIves/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
branch: gh-pages
folder: build
clean: true