Skip to content

chore: bump year to 2025 #174

chore: bump year to 2025

chore: bump year to 2025 #174

Workflow file for this run

name: ci cd
on:
push:
branches:
- main
pull_request:
jobs:
ci_cd:
runs-on: ubuntu-latest
name: Continuous Integration/Continuous Deployment
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # necessary for version generation done in 'grunt build'
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install Global Dependencies
run: npm install -g [email protected] grunt-cli istanbul npm
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: bower install
- run: npm test
- run: grunt build
if: github.ref == 'refs/heads/main'
- name: Coveralls
uses: coverallsapp/github-action@master
if: github.ref == 'refs/heads/main'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage/report-lcov/lcov.info
- name: deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist