ref: dual-write chartcuterie image to artifact registry #373
Workflow file for this run
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: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: volta-cli/action@v1 | |
- run: yarn install --frozen-lockfile | |
- run: yarn lint | |
- run: yarn test | |
- if: ${{ failure() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: snapshot diffs | |
path: tests/__image_snapshots__ | |
- run: yarn build | |
- run: yarn pack | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.sha }} | |
path: | | |
${{ github.workspace }}/*.tgz |