Move from Travis to GitHub Actions #4
Workflow file for this run
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: NodeJS with Grunt | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Build | |
run: | | |
npm install | |
grunt | |
- name: Push | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -a -m "Committed by GitHub Actions [ci skip]" | |
git push |