diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 540ad3d..d9b91f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,18 @@ -steps: -- uses: actions/checkout@v4 -- name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: '20.x' -- name: Install dependencies - run: npm ci -- name: Run tests - run: npm run test \ No newline at end of file +name: Test + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '20.x' + - name: Install dependencies + run: npm ci + - name: Run tests + run: npm run test \ No newline at end of file