File tree Expand file tree Collapse file tree 4 files changed +20
-0
lines changed Expand file tree Collapse file tree 4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 6262 key : package-app-gem-cache-${{ hashFiles('react_on_rails.gemspec') }}-${{ hashFiles('Gemfile.development_dependencies') }}-${{ matrix.versions }}
6363 - id : get-sha
6464 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
6569 - name : Install Node modules with Yarn for renderer package
6670 run : |
6771 yarn install --no-progress --no-emoji
Original file line number Diff line number Diff line change 4242 with :
4343 path : vendor/bundle
4444 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
4549 - name : Install Node modules with Yarn for renderer package
4650 run : |
4751 yarn install --no-progress --no-emoji
Original file line number Diff line number Diff line change 4646 with :
4747 path : node_modules
4848 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
4953 - name : Install Node modules with Yarn for renderer package
5054 run : |
5155 yarn install --no-progress --no-emoji
@@ -144,6 +148,10 @@ jobs:
144148 with :
145149 path : spec/dummy/public/webpack
146150 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
147155 - name : Install Node modules with Yarn
148156 run : |
149157 yarn install --no-progress --no-emoji
Original file line number Diff line number Diff line change 3636 - name : run conversion script
3737 if : matrix.versions == 'oldest'
3838 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
3943 - name : Install Node modules with Yarn for renderer package
4044 run : |
4145 yarn install --no-progress --no-emoji
You can’t perform that action at this time.
0 commit comments