Skip to content

Commit

Permalink
Add CI and tool-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Jul 31, 2024
1 parent 6b3fad3 commit d234c1b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Tests
on:
push:
branches: [main]
pull_request:
branches: ["**"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
cache-dependency-path: package-lock.json

- name: Install 💾
run: npm ci

- name: Test
run: npm run test -- --run
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.13.1

0 comments on commit d234c1b

Please sign in to comment.