@vtex/faststore-plugin-buyer-portal 1.0.0 → 1.0.1
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.
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# This Action should run on main branch and verify lint, test, and then publish the version on npm
|
|
2
|
+
name: CD
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
name: BuyerPortal
|
|
12
|
+
timeout-minutes: 15
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- name: Check out code
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
with:
|
|
19
|
+
fetch-depth: 2
|
|
20
|
+
|
|
21
|
+
- name: Setup Node.js environment
|
|
22
|
+
uses: actions/setup-node@v4
|
|
23
|
+
with:
|
|
24
|
+
node-version: 18
|
|
25
|
+
cache: "yarn"
|
|
26
|
+
registry-url: "https://registry.npmjs.org"
|
|
27
|
+
|
|
28
|
+
- name: Configure CI Git User
|
|
29
|
+
run: |
|
|
30
|
+
git config user.name vtexgithubbot
|
|
31
|
+
git config user.email vtexgithubbot@github.com
|
|
32
|
+
|
|
33
|
+
- name: Install dependencies
|
|
34
|
+
run: yarn
|
|
35
|
+
|
|
36
|
+
- name: Update version to patch
|
|
37
|
+
run: yarn version --patch
|
|
38
|
+
|
|
39
|
+
- name: Publish
|
|
40
|
+
run: yarn publish --non-interactive
|
|
41
|
+
env:
|
|
42
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
43
|
+
|
|
44
|
+
- name: Push changes and tags
|
|
45
|
+
run: |
|
|
46
|
+
git config user.email "vtexgithubbot@github.com"
|
|
47
|
+
git config user.name "vtexgithubbot"
|
|
48
|
+
git push --follow-tags
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtex/faststore-plugin-buyer-portal",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A plugin for faststore with buyer portal",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -19,4 +19,4 @@
|
|
|
19
19
|
"next": "13.5.6"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT"
|
|
22
|
-
}
|
|
22
|
+
}
|