Bump @babel/traverse from 7.16.0 to 7.23.2 #138
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: Node CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Branch name | |
run: echo running on branch ${{ github.ref }} | |
- name: Use Node.js version ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install and build | |
run: | | |
npm ci | |
npm run build --if-present | |
npm run build:live-demo --if-present | |
env: | |
CI: true | |
- name: Commit files | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "AS Ideas" | |
# Only commit if we have changes | |
git diff --quiet && git diff --staged --quiet || git commit -m "Update built artifacts" -a | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: ${{ github.ref }} | |
- name: Deploy 🚀 | |
if: contains(github.ref, 'master') | |
uses: JamesIves/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
folder: live-demo/dist |