Skip to content

feat(vendor-core): update to jquery 3 (#479) #88

feat(vendor-core): update to jquery 3 (#479)

feat(vendor-core): update to jquery 3 (#479) #88

Workflow file for this run

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