Skip to content

chore(deps): update bahmutov/npm-install action to v1.10.5 #270

chore(deps): update bahmutov/npm-install action to v1.10.5

chore(deps): update bahmutov/npm-install action to v1.10.5 #270

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install npm packages (with caching)
uses: bahmutov/npm-install@v1.10.3
- name: Run tests
run: npm test
- name: Generate and publish coveralls coverage reports
run: npm run coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Create deployment folder
run: mkdir ./deploy && touch ./.nojekyll
- name: Generate HTML coverage reports
run: npm run coverage
- name: debug
run: cp -a ./coverage ./deploy
- name: Build documentation
run: npm run docs
- name: Copy documentation contents (not folder itself!) to deployment folder
run: cp -a ./docs/. ./deploy
- name: Deploy to GitHub pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./deploy