MM-62104 Fix board disappearing or move to default category when swit… #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check-in tests | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'releases-**' | |
pull_request: | |
workflow_dispatch: | |
env: | |
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
EXCLUDE_ENTERPRISE: true | |
jobs: | |
webapp-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: "focalboard" | |
- name: npm ci | |
run: | | |
cd focalboard/webapp && npm ci | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.11.0 | |
- name: Lint & test webapp | |
run: cd focalboard; make webapp-ci | |
- name: set up golangci-lint | |
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.0 | |
- name: Lint & test server | |
run: cd focalboard; make server-ci |