Skip to content

Commit

Permalink
Merge pull request #11 from cabify/Use-common-tooling
Browse files Browse the repository at this point in the history
Use common tooling
  • Loading branch information
alejandrofdiaz authored Aug 28, 2023
2 parents 667f47d + 07d124d commit bca4897
Show file tree
Hide file tree
Showing 7 changed files with 2,843 additions and 15,342 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Basic dependabot.yml file with

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'
versioning-strategy: increase
13 changes: 13 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Publish package

on:
release:
types: [created]

jobs:
publish-npm:
uses: cabify/javascript-actions/.github/workflows/npm_publish.yml@main
with:
tag: ${{ contains(github.ref_name,'beta') && 'beta' || 'latest' }}
secrets:
token: ${{ secrets.NPM_TOKEN }}
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Tests

on: [push]

jobs:
test:
uses: cabify/javascript-actions/.github/workflows/tests.yml@main
Loading

0 comments on commit bca4897

Please sign in to comment.