File tree Expand file tree Collapse file tree 3 files changed +14
-21
lines changed
Expand file tree Collapse file tree 3 files changed +14
-21
lines changed Original file line number Diff line number Diff line change 5454 if : github.ref != 'refs/heads/beads-sync'
5555 runs-on : ubuntu-latest
5656 needs : [lint, typecheck]
57- permissions :
58- id-token : write
59- contents : read
6057 steps :
6158 - name : Checkout code
6259 uses : actions/checkout@v4
7067 - name : Install dependencies
7168 run : pnpm install --frozen-lockfile
7269
73- - name : Install Doppler CLI
74- uses : dopplerhq/cli-action@v3
75-
76- - name : Get OIDC token
77- run : |
78- TOKEN=$(curl -s -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
79- "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=https://github.com/$GITHUB_REPOSITORY_OWNER")
80- echo "OIDC_TOKEN=$(echo $TOKEN | jq -r '.value')" >> $GITHUB_ENV
81-
82- - name : Authenticate with Doppler
83- run : |
84- doppler oidc login --scope=. --identity=${{ vars.DOPPLER_SERVICE_IDENTITY_ID }} --token=$OIDC_TOKEN
85- doppler configure set project proofkit
86- doppler configure set config test
87-
8870 - name : Run Unit Tests
8971 run : pnpm test
9072
91- - name : Run fmodata E2E Tests
92- run : pnpm --filter @proofkit/fmodata test:e2e
93-
9473 build :
9574 if : github.ref != 'refs/heads/beads-sync'
9675 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1414 "sherif:fix" : " pnpm sherif --fix" ,
1515 "release" : " turbo run build --filter={./packages/*} && changeset publish" ,
1616 "test" : " turbo run test" ,
17+ "test:e2e" : " turbo run test:e2e" ,
1718 "knip" : " knip" ,
1819 "prepare" : " husky"
1920 },
Original file line number Diff line number Diff line change 2929 "outputs" : [],
3030 "dependsOn" : [" ^build" ]
3131 },
32+ "test:e2e" : {
33+ "inputs" : [
34+ " $TURBO_DEFAULT$" ,
35+ " vitest.config.*" ,
36+ " **/*.test.ts" ,
37+ " **/*.test.tsx" ,
38+ " **/*.spec.ts" ,
39+ " **/*.spec.tsx"
40+ ],
41+ "outputs" : [],
42+ "dependsOn" : [" ^build" ],
43+ "cache" : false
44+ },
3245 "test:watch" : {
3346 "cache" : false ,
3447 "persistent" : true
You can’t perform that action at this time.
0 commit comments