Skip to content

Commit

Permalink
remove python
Browse files Browse the repository at this point in the history
  • Loading branch information
jitu5 committed Mar 28, 2024
1 parent f6cec29 commit f7b5825
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,36 +22,21 @@ jobs:
- name: Checkout code
uses: actions/[email protected]

- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9

# - uses: actions/setup-node@v4
# - name: Set up Python 3.9
# uses: actions/setup-python@v5
# with:
# node-version: 16.13.2
# registry-url: 'https://registry.npmjs.org'
# - run: npm ci
# python-version: 3.9

- name: Install Node dependencies
uses: "./.github/actions/install_node_dependencies"
- uses: actions/setup-node@v4
with:
node-version: 16.13.2
registry-url: 'https://registry.npmjs.org'
- run: npm ci

- name: Build React application
run: |-
node -v
make build
# - name: Authenticate with registry
# run: |
# mkdir -p ~/repo/
# echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc

# - name: Authenticate with registry
# run: |
# # echo "registry=https://registry.npmjs.org/" >> .npmrc
# echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc

# Setup .npmrc file to publish to npm
- name: Publish to npm
run: npm publish --access=public
Expand Down

0 comments on commit f7b5825

Please sign in to comment.