Skip to content

Commit f3738f8

Browse files
committed
🚀 deploy scripts etc
1 parent 0b88b5a commit f3738f8

File tree

5 files changed

+93
-0
lines changed

5 files changed

+93
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @Bas950 @Timeraa

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
# Fetch and update latest `npm` packages
4+
- package-ecosystem: npm
5+
directory: "/"
6+
schedule:
7+
interval: daily
8+
time: "00:00"
9+
open-pull-requests-limit: 10
10+
commit-message:
11+
prefix: chore
12+
include: scope
13+
# Fetch and update latest `github-actions` pkgs
14+
- package-ecosystem: github-actions
15+
directory: "/"
16+
schedule:
17+
interval: daily
18+
time: "00:00"
19+
open-pull-requests-limit: 10
20+
commit-message:
21+
prefix: chore
22+
include: scope
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI Dependencies
2+
on: [push, pull_request]
3+
4+
jobs:
5+
automerge:
6+
runs-on: ubuntu-latest
7+
permissions:
8+
pull-requests: write
9+
steps:
10+
- uses: fastify/[email protected]
11+
with:
12+
github-token: ${{ secrets.GITHUB_TOKEN }}
13+
target: minor
14+
- uses: fastify/[email protected]
15+
with:
16+
github-token: ${{ secrets.GITHUB_TOKEN }}
17+
target: patch

.github/workflows/publish.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish Package
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
packages: write
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v2
14+
15+
- name: Install Node v16
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: 16
19+
registry-url: "https://registry.npmjs.org"
20+
cache: yarn
21+
22+
- name: Install dependencies
23+
run: yarn install
24+
25+
- name: Compile
26+
run: tsc
27+
28+
- run: npm publish
29+
env:
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test package
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
permissions:
7+
contents: read
8+
packages: write
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v2
12+
13+
- name: Install Node v16
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: 16
17+
cache: yarn
18+
19+
- name: Install dependencies
20+
run: yarn install
21+
22+
- name: Test package
23+
run: tsc

0 commit comments

Comments
 (0)