Merging upstream version 1.10.5+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b34f263e6c
commit
eb7be08aac
20 changed files with 494 additions and 1175 deletions
16
.github/workflows/deploy.yml
vendored
16
.github/workflows/deploy.yml
vendored
|
@ -4,15 +4,16 @@ on:
|
|||
release:
|
||||
types:
|
||||
- published
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 2
|
||||
NODE: 18
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'twbs/icons'
|
||||
if: github.repository == 'twbs/icons' && startsWith(github.ref, 'refs/tags/v')
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
|
@ -29,11 +30,8 @@ jobs:
|
|||
- name: Install npm dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build the icons
|
||||
run: npm run icons
|
||||
|
||||
- name: Build the docs
|
||||
run: npm run docs-build
|
||||
- name: Prepare release
|
||||
run: npm run release
|
||||
|
||||
- name: Deploy docs
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
@ -44,9 +42,9 @@ jobs:
|
|||
publish_dir: ./_site/
|
||||
|
||||
publish:
|
||||
needs: deploy
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'twbs/icons'
|
||||
if: github.repository == 'twbs/icons' && startsWith(github.ref, 'refs/tags/v')
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
|
|
37
.github/workflows/lint.yml
vendored
Normal file
37
.github/workflows/lint.yml
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 2
|
||||
NODE: 18
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "${{ env.NODE }}"
|
||||
cache: npm
|
||||
|
||||
- name: Install npm dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Lint
|
||||
run: npm run test
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -39,8 +39,8 @@ jobs:
|
|||
- name: Build the icons
|
||||
run: npm run icons
|
||||
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
- name: Build and test docs
|
||||
run: npm run docs-test
|
||||
|
||||
- name: Run linkinator
|
||||
uses: JustinBeckwith/linkinator-action@v1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue