Skip to content

Update dependency glob to v11 #7783

Update dependency glob to v11

Update dependency glob to v11 #7783

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
repository_dispatch:
types: [update]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: cache deps
uses: actions/cache@main
with:
path: |
node_modules
*/*/*/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: install deps
run: yarn
- name: lint
run: yarn lint
- name: test
run: yarn test || echo "skip"
deploy:
needs: build
if: ${{ github.event_name != 'pull_request' && contains(github.ref, 'main') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cache deps
uses: actions/cache@main
with:
path: |
node_modules
*/*/*/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Snap
run: yarn snap
- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'khaos-functions'
publish-profile: ${{ secrets.AZURE_APP_SERVICE_PUBLISH_PROFILE }}