[js] Update locale-includes 1.0.5 → 1.0.6 (patch) (#262) #662
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: Continuous Integration | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: docker-compose -f docker-compose.test.yml pull | |
# Caching is making builds slower: | |
# https://github.com/satackey/action-docker-layer-caching/issues/305 | |
# - uses: satackey/action-docker-layer-caching@v0.0.11 | |
# continue-on-error: true | |
- run: docker-compose -f docker-compose.test.yml build | |
- run: docker-compose -f docker-compose.test.yml run web sh -c 'rails db:setup && rails test && yarn lint' | |
deploy_staging: | |
needs: test | |
if: ${{ github.ref == 'refs/heads/main' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Caching is making builds slower: | |
# https://github.com/satackey/action-docker-layer-caching/issues/305 | |
# - uses: satackey/action-docker-layer-caching@v0.0.11 | |
# continue-on-error: true | |
- uses: zenato/docker-action@master | |
with: | |
username: ${{ secrets.REGISTRY_USERNAME }} | |
password: ${{ secrets.REGISTRY_PASSWORD }} | |
repository: ${{ secrets.REGISTRY_REPO }} | |
registry: ${{ secrets.REGISTRY_URL }} | |
tag: staging |