Skip to content

Commit

Permalink
fix: revert anonymousId get from store on reset (#974)
Browse files Browse the repository at this point in the history
* fix: revert anonymousId get from store on reset

* fix: disable yarn hardened mode in ci

* fix: fix harden mode value in ci

* fix: clean yarn cache, update yarn
  • Loading branch information
alanjcharles authored Jul 22, 2024
1 parent 5e7bb48 commit f05486e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
build-and-test:
needs: cancel_previous
runs-on: 'ubuntu-latest'
env:
YARN_ENABLE_HARDENED_MODE: 0
steps:
- uses: actions/checkout@v4
# Workaround for corepack enable in node
Expand All @@ -33,14 +35,15 @@ jobs:
run: yarn install --immutable
- name: Build
run: yarn build
# Linter has to run after the build because it relies on TS types
- name: Lint
run: yarn lint
- name: Test
run: yarn test --coverage

run-e2e-ios:
runs-on: 'macos-13'
env:
YARN_ENABLE_HARDENED_MODE: 0
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
Expand Down Expand Up @@ -81,6 +84,8 @@ jobs:
matrix:
api-level: [21]
profile: ['pixel_xl']
env:
YARN_ENABLE_HARDENED_MODE: 0
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down
4 changes: 2 additions & 2 deletions packages/sovran/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
"dependencies": {
"ansi-regex": "5.0.1",
"deepmerge": "^4.2.2",
"react-native-get-random-values": "1.x",
"shell-quote": "1.8.0",
"uuid": "^9.0.1",
"react-native-get-random-values": "1.x"
"uuid": "^9.0.1"
},
"resolutions": {
"shell-quote": "1.7.3",
Expand Down
20 changes: 20 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3660,9 +3660,11 @@ __metadata:
ansi-regex: "npm:5.0.1"
deepmerge: "npm:^4.2.2"
jest: "npm:^29.7.0"
react-native-get-random-values: "npm:1.x"
semantic-release: "npm:^22.0.8"
shell-quote: "npm:1.8.0"
typescript: "npm:^5.2.2"
uuid: "npm:^9.0.1"
peerDependencies:
"@react-native-async-storage/async-storage": 1.x
react: "*"
Expand Down Expand Up @@ -8068,6 +8070,13 @@ __metadata:
languageName: node
linkType: hard

"fast-base64-decode@npm:^1.0.0":
version: 1.0.0
resolution: "fast-base64-decode@npm:1.0.0"
checksum: 10c0/6d8feab513222a463d1cb58d24e04d2e04b0791ac6559861f99543daaa590e2636d040d611b40a50799bfb5c5304265d05e3658b5adf6b841a50ef6bf833d821
languageName: node
linkType: hard

"fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3":
version: 3.1.3
resolution: "fast-deep-equal@npm:3.1.3"
Expand Down Expand Up @@ -13136,6 +13145,17 @@ __metadata:
languageName: node
linkType: hard

"react-native-get-random-values@npm:1.x":
version: 1.11.0
resolution: "react-native-get-random-values@npm:1.11.0"
dependencies:
fast-base64-decode: "npm:^1.0.0"
peerDependencies:
react-native: ">=0.56"
checksum: 10c0/2ce71f1ab7f5b36d4a9dd59cc80b4aa75526f047c6680a7f1a388fa8b9a62efdacaf7b7de3be593c73e882773b2eee74916b00f7c8b158e40b46388998218586
languageName: node
linkType: hard

"react-native@npm:^0.72.7":
version: 0.72.10
resolution: "react-native@npm:0.72.10"
Expand Down

0 comments on commit f05486e

Please sign in to comment.