We don't care about capitalization when comparing emails #896
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: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.npm | |
~/.nvm | |
node_modules | |
packages/app/node_modules | |
packages/cordova/node_modules | |
packages/core/node_modules | |
packages/electron/node_modules | |
packages/extension/node_modules | |
packages/locale/node_modules | |
packages/manage/node_modules | |
packages/pwa/node_modules | |
packages/server/node_modules | |
packages/tauri/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
- name: Install dependencies | |
run: | | |
npm i -g [email protected] | |
npm ci | |
- name: Run prettier check | |
run: npm run prettier:check | |
- name: Run translation checks | |
run: | | |
npm run locale:extract | |
if [ $(git status --porcelain | wc -l) -ne "0" ]; then | |
echo "Missing translations detected." | |
exit 1 | |
fi | |
- name: Run pwa test build | |
run: npm run pwa:build | |
- name: Run web extention test build | |
run: npm run web-extension:build | |
- name: Test starting zero-config server | |
run: npm run server:start-dry | |
- name: Run tests | |
run: npm test | |
# - name: Run e2e tests | |
# run: npm run test:e2e |