bits-to-dead-trees 0.0.8 → 0.0.9

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.
@@ -1,9 +1,8 @@
1
1
  name: Build and Push Docker Image
2
2
 
3
3
  on:
4
- push:
5
- tags:
6
- - "v*"
4
+ release:
5
+ types: [published]
7
6
 
8
7
  concurrency: ${{ github.workflow }}-${{ github.ref }}
9
8
 
@@ -13,6 +12,7 @@ jobs:
13
12
  steps:
14
13
  - name: Checkout Repo
15
14
  uses: actions/checkout@v3
15
+ ref: ${{ github.ref_name }}
16
16
 
17
17
  - name: Login to GitHub Container Registry
18
18
  uses: docker/login-action@v1
@@ -0,0 +1,26 @@
1
+ name: CI
2
+
3
+ on: push
4
+
5
+ concurrency:
6
+ group: ${{ github.ref }}
7
+ cancel-in-progress: true
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout Repo
14
+ uses: actions/checkout@v3
15
+
16
+ - name: Set up Node
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: lts/*
20
+ cache: npm
21
+
22
+ - name: Run eslint
23
+ run: npm run lint
24
+
25
+ - name: Run prettier
26
+ run: npm run check-format
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # bits-to-dead-trees
2
2
 
3
+ ## 0.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - ddb70f5: Update eslint
8
+ - 5176013: Add CI setup
9
+
3
10
  ## 0.0.8
4
11
 
5
12
  ### 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.8",
4
+ "version": "0.0.9",
5
5
  "description": "Turn HTML into PDF files",
6
6
  "repository": "github:rmehner/bits-to-dead-trees",
7
7
  "license": "Apache-2.0",
@@ -15,6 +15,7 @@
15
15
  },
16
16
  "main": "dist/index.js",
17
17
  "scripts": {
18
+ "check-format": "prettier --check 'src/**/*.ts'",
18
19
  "clean": "rimraf dist",
19
20
  "lint": "eslint src/*.ts",
20
21
  "format": "prettier --write src/**/*.{ts,json}",
@@ -38,7 +39,7 @@
38
39
  "@typescript-eslint/eslint-plugin": "^5.18.0",
39
40
  "@typescript-eslint/parser": "^5.18.0",
40
41
  "concurrently": "^7.1.0",
41
- "eslint": "^8.12.0",
42
+ "eslint": "^8.13.0",
42
43
  "eslint-config-prettier": "^8.5.0",
43
44
  "nodemon": "^2.0.15",
44
45
  "pino-pretty": "^7.6.1",