3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-12 11:48:29 +01:00

Make GitHub canonical: CI and publishing on GitHub Actions, links and package metadata point there, Gitea waits to become a mirror

This commit is contained in:
2026-10-04 22:47:44 +02:00
committed by Lillem4n
parent 0728415727
commit 2ab1110710
9 changed files with 108 additions and 87 deletions
+30
View File
@@ -0,0 +1,30 @@
name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
gate:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7.0.1
- run: bash ci.sh
publish:
concurrency:
cancel-in-progress: false
group: publish
if: github.event_name == 'push'
needs: gate
permissions:
contents: write
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7.0.1
- env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: bash publish.sh