Skip to content

chore(deps-dev): Bump ws from 7.4.2 to 7.5.10 #36

chore(deps-dev): Bump ws from 7.4.2 to 7.5.10

chore(deps-dev): Bump ws from 7.4.2 to 7.5.10 #36

Workflow file for this run

name: CI/CD
on:
- push
- pull_request
env:
FORCE_COLOR: 3
jobs:
ci:
name: Compile Partials
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Clone Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set Up Node
uses: actions/setup-node@v1
with:
node-version: 14
- name: Use Dependencies Cache
id: dependencies-cache
uses: actions/cache@v1
with:
key: dependencies-${{ hashFiles('package-lock.json') }}
path: node_modules
- name: Use Sticker Partials Cache
uses: actions/cache@v1
with:
key: sticker-partials-${{ hashFiles('src/stickers.yml') }}
path: .sticker-partials-cache
restore-keys: |
sticker-partials-
- name: Install Dependencies
if: steps.dependencies-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Build Project
run: npx nps build
- name: Validate Manifest
run: npx nps test
- name: Compile Sticker Pack Partials
run: npx nps compile
- name: Configure SSH
if: github.ref == 'refs/heads/master'
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY_KEY }}
- name: Deploy JSON to GitHib Pages
if: github.ref == 'refs/heads/master'
uses: JamesIves/[email protected]
with:
SSH: true
CLEAN: true
SINGLE_COMMIT: true
BRANCH: gh-pages
FOLDER: partials