steps:
  # Install
  - name: 'node:10.15.1'
    entrypoint: yarn
    args: ['install']
  # Test
  - name: 'node:10.15.1'
    entrypoint: yarn
    args: ['run', 'test:noWatch']
  # Build Storybook
  - name: 'node:10.15.1'
    entrypoint: yarn
    args: ['run', 'build-storybook']
  # Deploy Storybook
  - name: 'gcr.io/$PROJECT_ID/firebase'
    args:
      [
        'deploy',
        '--only',
        'hosting:visitGuidePWA-storybook',
        '--token',
        '1//0d6YxXDNm98UDCgYIARAAGA0SNwF-L9Irp0A6BrQJQtCoSToEiSKKGsAxdGb_7RUI4VrBHV3Z9QDpEL7lua0DWV1xNZNhmR67m2c',
      ]
