Merge pull request #463 from nyaruka/modax-errors #2203
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: 'build' | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set Timezone | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: "UTC" | |
- name: Checkout (GitHub) | |
uses: actions/checkout@v4 | |
- run: docker network create --driver bridge textit_default | |
- name: Build and run dev container task | |
uses: devcontainers/[email protected] | |
with: | |
runCmd: yarn test | |
push: never | |
env: | | |
CI=true | |
- name: Upload artifacts | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: screenshots | |
path: screenshots/ | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
files: coverage/lcov.info |