feat(console): App storage package modal (#2836) #174
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: Analytics | |
on: | |
push: | |
branches: | |
- main | |
defaults: | |
run: | |
working-directory: platform/analytics | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: dev | |
steps: | |
- uses: actions/checkout@v3 | |
- 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: Test | |
run: yarn run test | |
- name: Deploy | |
uses: cloudflare/[email protected] | |
with: | |
wranglerVersion: '3.19.0' | |
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }} | |
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }} | |
workingDirectory: platform/analytics | |
command: publish |