mirror of
https://github.com/NickKaramoff/shareon
synced 2025-02-07 03:03:31 +01:00
Delete GitHub-specific files
After migration to Codeberg, GitHub's CI definitions aren't needed any more. The project will be migrated to Codeberg CI when it exits private beta. Also delete banner image file, since it wasn't being used anywhere.
This commit is contained in:
parent
846570dd31
commit
018b4e0dc9
63
.github/workflows/ci.yml
vendored
63
.github/workflows/ci.yml
vendored
@ -1,63 +0,0 @@
|
||||
name: Node.js CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- v*
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint package
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "16"
|
||||
- uses: pnpm/action-setup@v2.0.1
|
||||
with:
|
||||
version: 6.0.2
|
||||
- name: Install dependencies
|
||||
run: pnpm i
|
||||
- name: Lint
|
||||
run: pnpm run lint
|
||||
|
||||
build-docs:
|
||||
name: Build and test package and deploy docs
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "16"
|
||||
- uses: pnpm/action-setup@v2.0.1
|
||||
with:
|
||||
version: 6.0.2
|
||||
- name: Install dependencies
|
||||
run: pnpm i
|
||||
- name: Test package
|
||||
run: pnpm run test
|
||||
|
||||
- name: Copy built files to docs
|
||||
run: cp ./dist/shareon.min.* ./docs
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: crazy-max/ghaction-github-pages@v2
|
||||
with:
|
||||
keep_history: true
|
||||
build_dir: docs
|
||||
fqdn: shareon.js.org
|
||||
jekyll: false
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Binary file not shown.
Before Width: | Height: | Size: 22 KiB |
Loading…
x
Reference in New Issue
Block a user