Skip to content

Commit

Permalink
switching from yarn for more check this actions/setup-node#182
Browse files Browse the repository at this point in the history
  • Loading branch information
ps173 committed Dec 18, 2021
1 parent 0528e4a commit 33f45de
Show file tree
Hide file tree
Showing 3 changed files with 27,615 additions and 11,256 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,32 @@ name: Node.js CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm run export
- run: touch ./out/.nojekyll
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run build --if-present
- run: npm run export
- run: touch ./out/.nojekyll

- name: Deployed On GHpages yay!! 🚀
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
- name: Deployed On GHpages yay!! 🚀
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: outt

folder: out
Loading

0 comments on commit 33f45de

Please sign in to comment.