Merge pull request #24 from DamianReeves/dependabot/npm_and_yarn/undi… #30
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Overwrite file | |
uses: "DamianReeves/write-file-action@master" | |
with: | |
path: ci/test-output/out.js | |
write-mode: overwrite | |
contents: | | |
console.log('some contents: ${{github.ref_name}}') | |
- name: Commit & Push | |
uses: Andro999b/push@v1.3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: master | |
force: true | |
message: 'Overwritten by Github Actions - ${date}' |