Skip to content

Commit

Permalink
fix(ci): use NodeJS v16.13
Browse files Browse the repository at this point in the history
  • Loading branch information
AhsanAyaz committed Dec 7, 2022
1 parent 3d5d303 commit e8e326a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# https://help.github.com/en/articles/about-github-actions
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: CI

permissions:
contents: write
on:
push:
branches:
Expand All @@ -18,10 +19,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Use Node.js 12.8
- name: Use Node.js 16.15.0
uses: actions/setup-node@v1
with:
node-version: 12.8
node-version: 16.15.0
- name: Install dependencies
run: npm install
- name: Lint
Expand All @@ -34,10 +35,8 @@ jobs:
run: npm run docs:build
- name: Copy Files
run: npm run copy:demo:ci && npm run copy:readme && npm run copy:changelog && npm run copy:license
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BASE_BRANCH: master # The branch the action should deploy from.
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs # The folder the action should deploy.
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.

0 comments on commit e8e326a

Please sign in to comment.