dcl-catalyst-client 13.0.1-20220824171142.commit-a02ede0 → 13.0.3

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,10 @@
1
1
  on:
2
2
  pull_request:
3
+ workflow_call:
3
4
 
4
5
  name: Build and Test
5
6
  jobs:
6
- build:
7
+ build-and-test:
7
8
  runs-on: ubuntu-latest
8
9
  steps:
9
10
  - uses: actions/checkout@master
@@ -1,19 +1,34 @@
1
1
  on:
2
2
  push:
3
- tags:
4
- - '*'
5
3
  branches:
6
4
  - master
7
- release:
8
- types:
9
- - created
10
5
 
11
- name: Publish NPM package
6
+ name: Release and publish NPM package
12
7
  jobs:
13
- build:
8
+
9
+ build-and-test:
10
+ uses: ./.github/workflows/build-and-test.yml
11
+
12
+ release:
14
13
  runs-on: ubuntu-latest
14
+ permissions: write-all
15
+ needs: build-and-test
16
+ if: ${{ success() }}
17
+ steps:
18
+ - uses: decentraland/gh-action-release@0.3.4
19
+ with:
20
+ github_token: ${{ secrets.GITHUB_TOKEN }}
21
+
22
+ publish:
23
+ runs-on: ubuntu-latest
24
+ needs: release
25
+ if: ${{ success() }}
15
26
  steps:
16
27
  - uses: actions/checkout@master
28
+ with:
29
+ fetch-depth: 0
30
+ - name: get latest release and export as GIT_TAG
31
+ run: echo "GIT_TAG=$(git tag | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$" | sort -V | tail -1)" > $GITHUB_ENV
17
32
  - name: Use Node.js 16.x
18
33
  uses: actions/setup-node@v1
19
34
  with:
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1661361101859" clover="3.2.0">
3
- <project timestamp="1661361101859" name="All files">
2
+ <coverage generated="1662129694009" clover="3.2.0">
3
+ <project timestamp="1662129694009" name="All files">
4
4
  <metrics statements="487" coveredstatements="377" conditionals="195" coveredconditionals="120" methods="149" coveredmethods="95" elements="831" coveredelements="592" complexity="0" loc="487" ncloc="487" packages="3" files="15" classes="15"/>
5
5
  <package name="src">
6
6
  <metrics statements="158" coveredstatements="109" conditionals="63" coveredconditionals="45" methods="70" coveredmethods="30"/>
@@ -131,7 +131,7 @@
131
131
  <div class='footer quiet pad2 space-top1 center small'>
132
132
  Code coverage generated by
133
133
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at Wed Aug 24 2022 17:11:41 GMT+0000 (Coordinated Universal Time)
134
+ at Fri Sep 02 2022 14:41:33 GMT+0000 (Coordinated Universal Time)
135
135
  </div>
136
136
  <script src="prettify.js"></script>
137
137
  <script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcl-catalyst-client",
3
- "version": "13.0.1-20220824171142.commit-a02ede0",
3
+ "version": "13.0.3",
4
4
  "description": "A client to query and perform changes on Decentraland's catalyst servers",
5
5
  "main": "dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -74,5 +74,5 @@
74
74
  "printWidth": 120,
75
75
  "trailingComma": "none"
76
76
  },
77
- "commit": "a02ede0a35d3aa2c59dace895341b09933153d92"
77
+ "commit": "ed23da97d201379e9276a0a6de63579cce96c4df"
78
78
  }
@@ -1,21 +0,0 @@
1
- name: 'release'
2
- on:
3
- workflow_dispatch:
4
- inputs:
5
- dry_run:
6
- description: dry run
7
- type: boolean
8
- required: false
9
- default: false
10
- schedule:
11
- - cron: '30 13 * * 6' # Every Saturday at 13:30 UTC
12
- jobs:
13
- release:
14
- runs-on: ubuntu-latest
15
- permissions: write-all
16
- steps:
17
- - uses: decentraland/gh-action-release@0.3.2
18
- with:
19
- github_token: ${{ secrets.RELEASE_TOKEN }}
20
- dry_run: ${{ github.event.inputs.dry_run }}
21
- repository: ${{ github.repository }}