feat(passport): identity merge (#2847) #1162
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: Galaxy | |
on: | |
push: | |
branches: | |
- main | |
defaults: | |
run: | |
working-directory: ./platform | |
jobs: | |
build-publish-test-galaxy-dev: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
environment: dev | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cachix/install-nix-action@v18 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix-build platform.nix | |
- name: Cache Dependencies | |
id: cache-modules | |
uses: actions/cache@v3 | |
with: | |
path: | | |
node_modules | |
.yarn | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }} | |
- name: Install Dependencies | |
run: yarn install | |
- name: Code Generation | |
run: yarn gql | |
- name: Test | |
run: yarn workspaces foreach -i -v -t --include galaxy run test | |
- name: Deploy Galaxy to Dev Worker | |
uses: cloudflare/wrangler-action@2.0.0 | |
with: | |
wranglerVersion: '3.19.0' | |
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }} | |
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }} | |
workingDirectory: 'platform/galaxy' | |
command: publish --config wrangler.dev.toml --env dev | |
environment: 'dev' | |
env: | |
NODE_ENV: 'development' |