bits-to-dead-trees 0.0.2 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +33 -0
- package/CHANGELOG.md +20 -0
- package/package.json +2 -2
|
@@ -31,6 +31,39 @@ jobs:
|
|
|
31
31
|
uses: changesets/action@v1
|
|
32
32
|
with:
|
|
33
33
|
publish: npm run release
|
|
34
|
+
title: Release new version 🚀
|
|
34
35
|
env:
|
|
35
36
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
36
37
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
38
|
+
build-docker:
|
|
39
|
+
name: Build and push docker image
|
|
40
|
+
runs-on: ubuntu-latest
|
|
41
|
+
needs: ["release"]
|
|
42
|
+
if: needs.release.changesets.outputs.published == 'true'
|
|
43
|
+
steps:
|
|
44
|
+
- name: Checkout Repo
|
|
45
|
+
uses: actions/checkout@v3
|
|
46
|
+
|
|
47
|
+
- name: Determine version
|
|
48
|
+
run: |
|
|
49
|
+
echo "VERSION=$(cat package.json | jq .version}" >> $GITHUB_ENV
|
|
50
|
+
|
|
51
|
+
- name: Checkout tag
|
|
52
|
+
run: |
|
|
53
|
+
git fetch --tags
|
|
54
|
+
git checkout "v${{ env.VERSION }}"
|
|
55
|
+
|
|
56
|
+
- name: Login to GitHub Container Registry
|
|
57
|
+
uses: docker/login-action@v1
|
|
58
|
+
with:
|
|
59
|
+
registry: ghcr.io
|
|
60
|
+
username: ${{ github.repository_owner }}
|
|
61
|
+
password: ${{ secrets.GITHUB_TOKEN }}
|
|
62
|
+
|
|
63
|
+
- name: Build and push builder image
|
|
64
|
+
uses: docker/build-push-action@v2
|
|
65
|
+
with:
|
|
66
|
+
file: Dockerfile
|
|
67
|
+
push: true
|
|
68
|
+
tags: |
|
|
69
|
+
ghcr.io/${{ github.repository }}:${{ env.VERSION }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# bits-to-dead-trees
|
|
2
2
|
|
|
3
|
+
## 0.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fae9c4e: Another try to get automatic Docker builds running
|
|
8
|
+
- ea597c1: More pipeline fixes (at least I hope so)
|
|
9
|
+
- c323966: Move docker build into own job
|
|
10
|
+
|
|
11
|
+
## 0.0.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- b7574f0: Fix release pipeline for Docker image
|
|
16
|
+
|
|
17
|
+
## 0.0.3
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- bcd03db: Add automatic publish of docker images
|
|
22
|
+
|
|
3
23
|
## 0.0.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bits-to-dead-trees",
|
|
3
3
|
"author": "Robin Mehner <robin@coding-robin.de>",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"description": "Turn HTML into PDF files",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"eslint": "^8.12.0",
|
|
40
40
|
"eslint-config-prettier": "^8.5.0",
|
|
41
41
|
"nodemon": "^2.0.15",
|
|
42
|
-
"pino-pretty": "^7.6.
|
|
42
|
+
"pino-pretty": "^7.6.1",
|
|
43
43
|
"prettier": "^2.6.2",
|
|
44
44
|
"rimraf": "^3.0.2",
|
|
45
45
|
"typescript": "^4.6.3",
|