mirror of
https://github.com/amark/gun.git
synced 2025-06-07 14:46:44 +00:00
not sure how it happend - but fixed the tab mixup
This commit is contained in:
parent
002680ede4
commit
ab5e38b367
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -10,8 +10,8 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x] # [12.x, 14.x]
|
node-version: [14.x] # [12.x, 14.x]
|
||||||
os: [ubuntu-latest] #, macos-latest, windows-latest]
|
os: [ubuntu-latest] #, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
@ -25,14 +25,14 @@ jobs:
|
|||||||
- name: Setup Node ${{ matrix.node-version }}
|
- name: Setup Node ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Cache
|
- name: Cache
|
||||||
id: cache-modules
|
id: cache-modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ matrix.node-version }}-${{ runner.OS }}-build-${{ hashFiles('package.json') }}
|
key: ${{ matrix.node-version }}-${{ runner.OS }}-build-${{ hashFiles('package.json') }}
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
if: steps.cache-modules.outputs.cache-hit != 'true'
|
if: steps.cache-modules.outputs.cache-hit != 'true'
|
||||||
@ -67,9 +67,9 @@ jobs:
|
|||||||
# run: find artifacts -mindepth 1 -maxdepth 1 -exec tar -C {} -cvzf {}.tgz . \;
|
# run: find artifacts -mindepth 1 -maxdepth 1 -exec tar -C {} -cvzf {}.tgz . \;
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
# with:
|
# with:
|
||||||
# files: |
|
# files: |
|
||||||
# artifacts/*.tgz
|
# artifacts/*.tgz
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
|
4
.github/workflows/cleanup.yml
vendored
4
.github/workflows/cleanup.yml
vendored
@ -13,5 +13,5 @@ jobs:
|
|||||||
- name: Expire Artifacts
|
- name: Expire Artifacts
|
||||||
uses: kolpav/purge-artifacts-action@v1
|
uses: kolpav/purge-artifacts-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
expire-in: 1hour
|
expire-in: 1hour
|
||||||
|
10
.github/workflows/dockerhub.yml
vendored
10
.github/workflows/dockerhub.yml
vendored
@ -18,18 +18,18 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
docker build -t ${{ env.project }} .
|
docker build -t ${{ env.project }} .
|
||||||
|
|
||||||
- name: Login
|
- name: Login
|
||||||
env:
|
env:
|
||||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
||||||
|
|
||||||
- name: Tag
|
- name: Tag
|
||||||
run: |
|
run: |
|
||||||
docker tag ${{ env.project }} ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.project }}:${GITHUB_REF/refs\/tags\/v/}
|
docker tag ${{ env.project }} ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.project }}:${GITHUB_REF/refs\/tags\/v/}
|
||||||
docker tag ${{ env.project }} ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.project }}:latest
|
docker tag ${{ env.project }} ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.project }}:latest
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.project }}
|
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.project }}
|
||||||
|
8
.github/workflows/npm.yml
vendored
8
.github/workflows/npm.yml
vendored
@ -15,8 +15,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
env:
|
env:
|
||||||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
|
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
|
||||||
npm install
|
npm install
|
||||||
npm publish --access=public
|
npm publish --access=public
|
||||||
|
Loading…
x
Reference in New Issue
Block a user