Skip to content

Commit

Permalink
Revert "ci: debug"
Browse files Browse the repository at this point in the history
This reverts commit bccaf1d.
  • Loading branch information
bowencool committed Mar 25, 2022
1 parent bccaf1d commit deb0eff
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,47 @@ on:
- v**

jobs:
setup:
build-and-deploy:
# concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up node16
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'yarn'
- run: yarn

test:
needs: setup
steps:

# - name: Get yarn cache directory path
# id: yarn-cache-dir-path
# run: |
# echo "::set-output name=dir::$(yarn cache dir)"
# echo "::set-output name=version::$(yarn -v)"

# - uses: actions/cache@v2
# id: yarn-cache
# name: Cache
# with:
# path: |
# **/node_modules
# ${{ steps.yarn-cache-dir-path.outputs.dir }}
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-

- run: yarn
# - run: yarn run coveralls
- run: yarn run test
- run: yarn run build:docs

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

build-and-deploy:
needs: setup
steps:
- run: yarn run build:docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
Expand Down

0 comments on commit deb0eff

Please sign in to comment.