Skip to content

Commit

Permalink
Optimize workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anweisen committed Nov 20, 2021
1 parent 6e947f9 commit 9ceb836
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,21 @@ jobs:

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

name: Node ${{ matrix.node-version }}

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Install and build
run: npm install && yarn build
- name: Install
run: npm install

- name: Build
run: yarn build
env:
CI: false

- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.1
Expand Down

0 comments on commit 9ceb836

Please sign in to comment.