File tree 4 files changed +20
-0
lines changed
4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 62
62
key : package-app-gem-cache-${{ hashFiles('react_on_rails.gemspec') }}-${{ hashFiles('Gemfile.development_dependencies') }}-${{ matrix.versions }}
63
63
- id : get-sha
64
64
run : echo "sha=\"$(git rev-parse HEAD)\"" >> "$GITHUB_OUTPUT"
65
+ - name : Configure .npmrc for react-on-rails-rsc
66
+ run : |
67
+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.REACT_ON_RAILS_RSC_PACKAGE_TOKEN }}" >> .npmrc
68
+ echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
65
69
- name : Install Node modules with Yarn for renderer package
66
70
run : |
67
71
yarn install --no-progress --no-emoji
Original file line number Diff line number Diff line change 42
42
with :
43
43
path : vendor/bundle
44
44
key : package-app-gem-cache-${{ hashFiles('react_on_rails.gemspec') }}-${{ hashFiles('Gemfile.development_dependencies') }}-oldest
45
+ - name : Configure .npmrc for react-on-rails-rsc
46
+ run : |
47
+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.REACT_ON_RAILS_RSC_PACKAGE_TOKEN }}" >> .npmrc
48
+ echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
45
49
- name : Install Node modules with Yarn for renderer package
46
50
run : |
47
51
yarn install --no-progress --no-emoji
Original file line number Diff line number Diff line change 46
46
with :
47
47
path : node_modules
48
48
key : v5-package-node-modules-cache-${{ hashFiles('yarn.lock') }}
49
+ - name : Configure .npmrc for react-on-rails-rsc
50
+ run : |
51
+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.REACT_ON_RAILS_RSC_PACKAGE_TOKEN }}" >> .npmrc
52
+ echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
49
53
- name : Install Node modules with Yarn for renderer package
50
54
run : |
51
55
yarn install --no-progress --no-emoji
@@ -144,6 +148,10 @@ jobs:
144
148
with :
145
149
path : spec/dummy/public/webpack
146
150
key : dummy-app-webpack-bundle-${{ steps.get-sha.outputs.sha }}-${{ matrix.versions }}
151
+ - name : Configure .npmrc for react-on-rails-rsc
152
+ run : |
153
+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.REACT_ON_RAILS_RSC_PACKAGE_TOKEN }}" >> .npmrc
154
+ echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
147
155
- name : Install Node modules with Yarn
148
156
run : |
149
157
yarn install --no-progress --no-emoji
Original file line number Diff line number Diff line change 36
36
- name : run conversion script
37
37
if : matrix.versions == 'oldest'
38
38
run : script/convert
39
+ - name : Configure .npmrc for react-on-rails-rsc
40
+ run : |
41
+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.REACT_ON_RAILS_RSC_PACKAGE_TOKEN }}" >> .npmrc
42
+ echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
39
43
- name : Install Node modules with Yarn for renderer package
40
44
run : |
41
45
yarn install --no-progress --no-emoji
You can’t perform that action at this time.
0 commit comments