Exclude unneeded 3rd party css from dist css #138
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continous integration | |
on: | |
push: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build widget.js | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.1 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12' | |
- name: Install dependencies | |
run: | | |
npm install -g grunt-cli | |
npm install | |
git config --global user.email "you@example.com" | |
git config --global user.name "Your Name" | |
npm version $(git describe --tags) --no-git-tag-version | |
grunt default | |
- name: Deploy to Github Pages | |
uses: JamesIves/github-pages-deploy-action@3.7.1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: dist # The folder the action should deploy. | |
CLEAN: false | |