zarro 1.165.0 → 1.165.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/gulp-tasks/modules/fetch-github-release/.editorconfig +10 -0
- package/gulp-tasks/modules/fetch-github-release/.gitattributes +1 -0
- package/gulp-tasks/modules/fetch-github-release/.github/.kodiak.toml +1 -0
- package/gulp-tasks/modules/fetch-github-release/.github/workflows/release-please.yml +26 -0
- package/gulp-tasks/modules/fetch-github-release/.github/workflows/test.yml +26 -0
- package/gulp-tasks/modules/fetch-github-release/.prettierrc.json +7 -0
- package/gulp-tasks/modules/fetch-github-release/CHANGELOG.md +8 -0
- package/gulp-tasks/modules/fetch-github-release/package-lock.json +12412 -0
- package/gulp-tasks/modules/fetch-github-release/package.json +78 -0
- package/gulp-tasks/modules/fetch-github-release/renovate.json5 +19 -0
- package/gulp-tasks/modules/fetch-github-release/src/__tests__/index.ts +51 -0
- package/gulp-tasks/modules/fetch-github-release/src/constants.ts +5 -0
- package/gulp-tasks/modules/fetch-github-release/src/fetchRelease.ts +159 -0
- package/gulp-tasks/modules/fetch-github-release/src/getAssetDefault.ts +48 -0
- package/gulp-tasks/modules/fetch-github-release/src/index.ts +2 -0
- package/gulp-tasks/modules/fetch-github-release/src/isUpdateAvailable.ts +143 -0
- package/gulp-tasks/modules/fetch-github-release/src/types.ts +17 -0
- package/gulp-tasks/modules/fetch-github-release/src/util.ts +24 -0
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* text=auto eol=lf
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = 1
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: release-please
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
jobs:
|
|
7
|
+
release-please:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: GoogleCloudPlatform/release-please-action@v2
|
|
11
|
+
id: release
|
|
12
|
+
with:
|
|
13
|
+
release-type: node
|
|
14
|
+
package-name: 'fetch-github-release'
|
|
15
|
+
- uses: actions/checkout@v2
|
|
16
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
17
|
+
- uses: actions/setup-node@v2
|
|
18
|
+
with:
|
|
19
|
+
node-version: '*'
|
|
20
|
+
check-latest: true
|
|
21
|
+
registry-url: 'https://registry.npmjs.org'
|
|
22
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
23
|
+
- run: npm publish
|
|
24
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
25
|
+
env:
|
|
26
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [main]
|
|
5
|
+
pull_request:
|
|
6
|
+
branches: [main]
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
timeout-minutes: 15
|
|
11
|
+
steps:
|
|
12
|
+
- name: Git checkout
|
|
13
|
+
uses: actions/checkout@v2
|
|
14
|
+
- name: Setup Node.js
|
|
15
|
+
uses: actions/setup-node@v2
|
|
16
|
+
with:
|
|
17
|
+
node-version: 16
|
|
18
|
+
check-latest: true
|
|
19
|
+
- name: Install dependencies
|
|
20
|
+
run: npm ci
|
|
21
|
+
- name: Linting
|
|
22
|
+
run: npm run format:ci
|
|
23
|
+
- name: Building
|
|
24
|
+
run: npm run build
|
|
25
|
+
- name: Tests
|
|
26
|
+
run: npm run test
|