Skip to content

Commit

Permalink
fix(dependencies): adding dependabot and updating dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock authored Dec 23, 2020
2 parents 071b4a3 + 8c5be0d commit 0634b61
Show file tree
Hide file tree
Showing 5 changed files with 554 additions and 707 deletions.
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Basic dependabot.yml file with
# minimum configuration for two package managers
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: '/'
# Check the npm registry for updates every day (weekdays)
schedule:
interval: "weekly"
# Check for npm updates on saturdays
day: "saturday"
timezone: "America/Los_Angeles"
commit-message:
prefix: 'fix(dependencies): '

# Maintain dependencies for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "weekly"
# Check for npm updates on saturdays
day: "saturday"
timezone: "America/Los_Angeles"
commit-message:
prefix: 'chore(github-action): '
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
# the latest definitions installed
##########################
- name: Use Node.js 14.x
uses: actions/setup-node@v2.1.1
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: '14'
- run: npm install

################################
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
name: Node.js Package

on:
pull_request:
branches:
- main
push:
branches:
- main
on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm install
- run: npm run build
- name: Semantic Release
if: github.ref == 'refs/heads/main'
uses: cycjimmy/semantic-release-action@v2
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
Expand Down
Loading

0 comments on commit 0634b61

Please sign in to comment.