disable ci/cd

This commit is contained in:
hay-kot
2021-08-04 09:55:15 -08:00
parent 0b4cbc38e0
commit 049e2f87f3
3 changed files with 77 additions and 77 deletions

View File

@@ -1,49 +1,49 @@
name: ci
# name: ci
on:
push:
branches:
- mealie-next
- mealie-next
pull_request:
branches:
- mealie-next
- mealie-next
# on:
# push:
# branches:
# - mealie-next
# - mealie-next
# pull_request:
# branches:
# - mealie-next
# - mealie-next
jobs:
ci:
runs-on: ${{ matrix.os }}
# jobs:
# ci:
# runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
# strategy:
# matrix:
# os: [ubuntu-latest]
# node: [14]
steps:
- name: Checkout 🛎
uses: actions/checkout@master
# steps:
# - name: Checkout 🛎
# uses: actions/checkout@master
- name: Setup node env 🏗
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node }}
check-latest: true
# - name: Setup node env 🏗
# uses: actions/setup-node@v2.1.5
# with:
# node-version: ${{ matrix.node }}
# check-latest: true
- name: Get yarn cache directory path 🛠
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
# - name: Get yarn cache directory path 🛠
# id: yarn-cache-dir-path
# run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache node_modules 📦
uses: actions/cache@v2.1.4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# - name: Cache node_modules 📦
# uses: actions/cache@v2.1.4
# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
# with:
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-
- name: Install dependencies 👨🏻‍💻
run: yarn
# - name: Install dependencies 👨🏻‍💻
# run: yarn
- name: Run linter 👀
run: yarn lint
# - name: Run linter 👀
# run: yarn lint