Skip to content

Bump bootstrap from 4.6.2 to 5.0.0 #32

Bump bootstrap from 4.6.2 to 5.0.0

Bump bootstrap from 4.6.2 to 5.0.0 #32

Workflow file for this run

on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- run: npm install
- run: npm run lint-css
- run: npm run css
- name: Upload artifact
uses: actions/upload-artifact@master
with:
name: ci-build
path: dist/
publish:
needs: ['build']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download build artifact
uses: actions/[email protected]
with:
name: ci-build
path: dist/
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}