Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also enable dependabot in the repository settings for automated notices and pull requests when dependencies are out of date.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
groups:
minor-and-patch-dependencies:
update-types:
- "minor"
- "patch"
major-dependencies:
update-types:
- "major"
33 changes: 33 additions & 0 deletions .github/workflows/run-and-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: run-and-test

on:
workflow_dispatch:
workflow_call:
pull_request:
branches: [ develop, test, acceptance, main, master ]

jobs:
checks:
runs-on: ubuntu-latest
container: node:lts-alpine
strategy:
matrix:
node-version: [22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: npm run build
# - name: Run linter on code (ESLint)
# run: npm run lint --max-warnings 0
# - name: Check code formatting (Prettier)
# run: npm run format
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ node_modules
**/.DS_Store
test.js
dist/
.vscode/
.vscode/

spryng-*.tgz
Loading