Skip to content

Setup GitHub actions #85

@lilyxmeng

Description

@lilyxmeng

Tasks:

  • Create a file .github/workflows/test.yml with contents like:
    name: Run tests
    on:
        pull_request:
            types: [opened, synchronize, reopened, ready_for_review]
        push:
            branches:
                - main
    jobs:
      build:
        runs-on: ubuntu-latest
        steps:
        - uses: actions/checkout@v2
        - name: Install modules
          run: npm ci
        - name: Run tests
          run: npm run test
    

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions