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

View File

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