Skip to content

Commit

Permalink
github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mapsam committed Oct 2, 2024
1 parent f1264fc commit cc80aa5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run tests
on: [push]
env:
NODE_VERSION: 20.x
jobs:
tests:
runs-on: ubuntu-latest

permissions:
id-token: write
contents: read

steps:
- name: checkout commit
uses: actions/checkout@v4

- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm

- name: install node deps
run: npm ci

- name: run tests
run: npm test
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit cc80aa5

Please sign in to comment.