Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/npm publish script #59

Merged
merged 3 commits into from
Dec 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ jobs:
- run: cp LICENSE packages/adyen-salesforce-pwa/
# Copy env example file to adyen-salesforce-pwa package
- run: cp packages/adyen-retail-react-app/.env.example packages/adyen-salesforce-pwa/
# Enter the package
- run: cd packages/adyen-salesforce-pwa/
# Install the node modules
- run: npm ci
- run: cd packages/adyen-salesforce-pwa/ && npm ci
# Build
- run: npm run build-prod
- run: cd packages/adyen-salesforce-pwa/ && npm run build-prod
# Publish the npm package
- run: npm publish --dry-run
- run: cd packages/adyen-salesforce-pwa/ && npm publish --dry-run
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
CI: true
Loading