Skip to content

chore: add compatible for perl without Cwd-module #331

chore: add compatible for perl without Cwd-module

chore: add compatible for perl without Cwd-module #331

Workflow file for this run

# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: build
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
# https://github.com/actions/checkout
uses: actions/checkout@v2
with:
# Number of commits to fetch. 0 indicates all history.
# all history for changelog
fetch-depth: 0
- name: Prepare for building
uses: ./.github/actions/prepare
- name: Coveralls
# https://github.com/coverallsapp/github-action
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build package
run: |
npm run build
- name: Deploy site
if: ${{ github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public