Skip to content

Commit

Permalink
Merge pull request #168 from aspida/create-dependabot-setting
Browse files Browse the repository at this point in the history
Create dependabot setting
  • Loading branch information
Hasu authored Jan 17, 2022
2 parents 4a7f748 + a2a5ad1 commit bc202ef
Show file tree
Hide file tree
Showing 55 changed files with 33 additions and 1,274 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
target-branch: "develop"
52 changes: 26 additions & 26 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,30 @@ jobs:
if: matrix.os != 'windows-latest'
- run: yarn typecheck
- run: yarn test --coverage
# - run: npx codecov
# if: github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' && matrix.node-version == 14
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- run: npx codecov
if: github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' && matrix.node-version == 14
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

# release:
# runs-on: ubuntu-latest
# needs: test
# if: contains(github.ref, 'tags/v')
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js
# uses: actions/setup-node@v1
# with:
# node-version: 12
# registry-url: "https://registry.npmjs.org"
# - uses: actions/cache@v2
# id: yarn-cache
# with:
# path: "node_modules"
# key: ${{ runner.os }}-node-v12-yarn-${{ hashFiles('yarn.lock') }}
# - run: yarn --frozen-lockfile
# if: steps.yarn-cache.outputs.cache-hit != 'true'
# - run: yarn build
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
release:
runs-on: ubuntu-latest
needs: test
if: contains(github.ref, 'tags/v')
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: "https://registry.npmjs.org"
- uses: actions/cache@v2
id: yarn-cache
with:
path: "node_modules"
key: ${{ runner.os }}-node-v12-yarn-${{ hashFiles('yarn.lock') }}
- run: yarn --frozen-lockfile
if: steps.yarn-cache.outputs.cache-hit != 'true'
- run: yarn build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
node_modules
#dist
external_refs_sample
dist
package-lock.json
13 changes: 0 additions & 13 deletions dist/buildTemplate.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/buildTemplate.d.ts.map

This file was deleted.

72 changes: 0 additions & 72 deletions dist/buildTemplate.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/buildTemplate.js.map

This file was deleted.

13 changes: 0 additions & 13 deletions dist/buildV3.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/buildV3.d.ts.map

This file was deleted.

Loading

0 comments on commit bc202ef

Please sign in to comment.