Skip to content

Merge pull request #29 from matrix-org/kegan/rm-old #33

Merge pull request #29 from matrix-org/kegan/rm-old

Merge pull request #29 from matrix-org/kegan/rm-old #33

Workflow file for this run

name: Tests
on:
push:
branches: ["main"]
pull_request:
permissions:
packages: read
# Note: from https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
# > If you specify the access for any of these scopes, all of those that are not specified are set to none.
jobs:
check-signoff:
if: "github.event_name == 'pull_request'"
uses: "matrix-org/backend-meta/.github/workflows/sign-off.yml@v2"
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install
run: yarn install
- name: Build
run: yarn build
- name: Lint
run: yarn lint ./src
- name: Test
run: yarn test
- name: Docker Build
run: docker build -t tardis .