From f111479b006a86ee92e97c129a6c96e10dcfdcb9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 24 Jan 2024 12:39:50 -0500 Subject: [PATCH] Create new workflow --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..cbac5777 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI/CD + +on: + push: + branches: + - gh-pages + +jobs: + ci-cd: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + cache: npm + + - name: Install dependencies + run: npm install + + - name: Build and test + run: npm run build + + - name: Deploy to GitHub Pages + run: npm run deploy -- -m "Update GitHub Pages"