feat(vendor-core): update to jquery 3 (#479) #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- master | |
- 'next**' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Checkout foreman-js | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure foreman-js-bot user | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "foreman-js-bot" | |
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc | |
- name: Install foreman-js npm dependencies | |
run: npm install | |
- name: Publish to github | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./scripts/publish-github-ci.sh | |
- name: Build foreman-js | |
run: npm run build | |
- name: Publish to npm | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: ./scripts/publish-npm-ci.sh | |
- name: Comment on the pull-request about the new release | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./scripts/post-publish-comment-github.sh |