Skip to content

Commit

Permalink
build: ci.yml change
Browse files Browse the repository at this point in the history
  • Loading branch information
d3george committed Oct 10, 2023
1 parent cc3563d commit 14745cb
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- name: Checkout code
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Setup pnpm
Expand All @@ -31,17 +31,15 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install
- name: Install and Build 🔧
run: |
pnpm install
pnpm build
- name: Build
run: pnpm build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
TOKEN: ${{ secrets.ACCESS_TOKEN }}
FOLDER: dist
CLEAN: true

Expand Down

0 comments on commit 14745cb

Please sign in to comment.