File tree 3 files changed +24
-3
lines changed
3 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,32 @@ jobs:
30
30
ct_tf_secret : ${{ secrets.CT_TF_SECRET }}
31
31
klaviyo_auth_key : ${{ secrets.KLAVIYO_AUTH_KEY }}
32
32
github_token : ${{ secrets.GITHUB_TOKEN }}
33
+ build_test :
34
+ name : ' Build and test'
35
+ runs-on : ubuntu-latest
36
+ needs : [ infrastructure ]
37
+ steps :
38
+ - name : Checkout
39
+ uses : actions/checkout@v3
40
+ - name : Use Node.js ${{ matrix.node-version }}
41
+ uses : actions/setup-node@v3
42
+ with :
43
+ node-version : 18.x
44
+ cache : yarn
45
+ cache-dependency-path : ./plugin/yarn.lock
46
+ - name : Dependencies install
47
+ working-directory : ./plugin
48
+ run : yarn install --frozen-lockfile
49
+ - name : Linting
50
+ working-directory : ./plugin
51
+ run : yarn lint
52
+ - name : Test
53
+ working-directory : ./plugin
54
+ run : yarn test
33
55
docker_image :
34
56
name : " Build and push docker image"
35
57
runs-on : ubuntu-latest
36
- needs : [ infrastructure ]
58
+ needs : [ build_test ]
37
59
steps :
38
60
- name : Checkout
39
61
uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ COPY package.json yarn.lock ./
6
6
# install dependencies
7
7
RUN yarn --frozen-lockfile
8
8
COPY . .
9
- RUN yarn test
10
9
RUN yarn build
11
10
# remove development dependencies
12
11
RUN yarn install --production --ignore-scripts --prefer-offline --force --frozen-lockfile
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " klaviyo-ct-plugin" ,
3
- "version" : " 1.0.12 " ,
3
+ "version" : " 1.0.13 " ,
4
4
"description" : " Klaviyo plugin for integration with commercetools" ,
5
5
"main" : " index.js" ,
6
6
"author" : {
You can’t perform that action at this time.
0 commit comments