diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a19796a1..befb97d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,8 @@ jobs: test: strategy: matrix: - node-version: [14.x] # [12.x, 14.x] - os: [ubuntu-latest] #, macos-latest, windows-latest] + node-version: [14.x] # [12.x, 14.x] + os: [ubuntu-latest] #, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -25,14 +25,14 @@ jobs: - name: Setup Node ${{ matrix.node-version }} uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ matrix.node-version }} - name: Cache id: cache-modules uses: actions/cache@v2 with: - path: node_modules - key: ${{ matrix.node-version }}-${{ runner.OS }}-build-${{ hashFiles('package.json') }} + path: node_modules + key: ${{ matrix.node-version }}-${{ runner.OS }}-build-${{ hashFiles('package.json') }} - name: Install 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 . \; - name: Release - uses: softprops/action-gh-release@v1 - # with: - # files: | - # artifacts/*.tgz - env: - GITHUB_TOKEN: ${{ secrets.PAT }} + uses: softprops/action-gh-release@v1 + # with: + # files: | + # artifacts/*.tgz + env: + GITHUB_TOKEN: ${{ secrets.PAT }} diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 28568bd2..067e221e 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -13,5 +13,5 @@ jobs: - name: Expire Artifacts uses: kolpav/purge-artifacts-action@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} - expire-in: 1hour + token: ${{ secrets.GITHUB_TOKEN }} + expire-in: 1hour diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 5897c0d3..17eb638a 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -18,18 +18,18 @@ jobs: - name: Build run: | - docker build -t ${{ env.project }} . + docker build -t ${{ env.project }} . - name: Login env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin - name: Tag run: | - 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 }}:${GITHUB_REF/refs\/tags\/v/} + docker tag ${{ env.project }} ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.project }}:latest - name: Push run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.project }} diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 44c2c78c..6af0892d 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -15,8 +15,8 @@ jobs: - name: Publish env: - NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} run: | - npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN - npm install - npm publish --access=public + npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN + npm install + npm publish --access=public