qrcode-pack 0.1.1 → 0.1.2
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/package.json
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
name: Generate Release and Publish to NPM
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- '*'
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
build-and-release:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
|
|
12
|
-
steps:
|
|
13
|
-
- name: Checkout code
|
|
14
|
-
uses: actions/checkout@v4
|
|
15
|
-
|
|
16
|
-
# Get Tag Name
|
|
17
|
-
- name: Get Tag name
|
|
18
|
-
id: vars
|
|
19
|
-
run: echo "TAG_NAME=${GITHUB_REF_NAME}" >> $GITHUB_ENV
|
|
20
|
-
|
|
21
|
-
# Generates a GitHub Release
|
|
22
|
-
- name: Create GitHub Release
|
|
23
|
-
uses: softprops/action-gh-release@v2
|
|
24
|
-
with:
|
|
25
|
-
files: ${{ env.ZIP_NAME }}
|
|
26
|
-
body: |
|
|
27
|
-
**QR Code Pack – Version ${{ github.ref_name }}**
|
|
28
|
-
|
|
29
|
-
For detailed changes in this version, see the automatically generated notes.
|
|
30
|
-
generate_release_notes: true
|
|
31
|
-
make_latest: "true"
|
|
32
|
-
env:
|
|
33
|
-
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
|
|
34
|
-
|
|
35
|
-
# Publish to NPM
|
|
36
|
-
- name: Setup Node
|
|
37
|
-
uses: actions/setup-node@v4
|
|
38
|
-
with:
|
|
39
|
-
node-version: 20
|
|
40
|
-
registry-url: https://registry.npmjs.org/
|
|
41
|
-
|
|
42
|
-
- name: Publish to NPM
|
|
43
|
-
run: npm publish
|
|
44
|
-
env:
|
|
45
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|