disable workflows

This commit is contained in:
zombieFox 2024-06-14 00:33:14 +01:00
parent a779ffd6d6
commit 05be4f30e6
2 changed files with 49 additions and 49 deletions

View File

@ -1,30 +1,30 @@
name: gh-pages-deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
with:
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: '12' # TODO IDK what version nighttab is built with normally.
cache: 'npm'
- run: |
npm install
npm run lint
npm test
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
branch: gh-pages
folder: dist/web
# name: gh-pages-deploy
#
# on:
# push:
# branches:
# - main
#
# jobs:
# build-and-deploy:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2.3.1
# with:
# persist-credentials: false
# - uses: actions/setup-node@v2
# with:
# node-version: '12' # TODO IDK what version nighttab is built with normally.
# cache: 'npm'
# - run: |
# npm install
# npm run lint
# npm test
# npm run build
#
# - name: Deploy
# uses: JamesIves/github-pages-deploy-action@4.1.3
# with:
# branch: gh-pages
# folder: dist/web

View File

@ -1,19 +1,19 @@
name: Run tests
on: [push, pull_request]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v2
- name: Install Dependecies & Test
- uses: actions/setup-node@v2
with:
node-version: '12' # TODO IDK what version nighttab is built with normally.
cache: 'npm'
- run: |
npm install
npm run lint
npm test
# name: Run tests
#
# on: [push, pull_request]
#
# jobs:
# build-and-deploy:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# - uses: actions/checkout@v2
# - name: Install Dependecies & Test
# - uses: actions/setup-node@v2
# with:
# node-version: '12' # TODO IDK what version nighttab is built with normally.
# cache: 'npm'
# - run: |
# npm install
# npm run lint
# npm test