Skip to content

Commit

Permalink
Merge pull request #51 from Meteor-Community-Packages/ci/testsuite
Browse files Browse the repository at this point in the history
ci: add testsuite workflow
  • Loading branch information
jankapunkt authored Jul 25, 2024
2 parents 6bb58ab + 1eb7c13 commit 5807195
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# the test suite runs the tests (headless, server+client) for multiple Meteor releases
name: Test suite
on:
push:
branches:
- master
pull_request:

jobs:
lint:
name: Javascript standard lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20

- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-20-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-20-
- run: |
npm ci
npm run lint
npm run pre-commit

0 comments on commit 5807195

Please sign in to comment.