Update runs-on attribute in workflows #58
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: generate snippets | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: | |
group: default | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
env: | |
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
- name: Build | |
run: npm run snippets-generate | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v7 | |
with: | |
message: Auto Generated Snippets | |
committer_name: Abdullah Altahery (Github Actions) | |
committer_email: [email protected] | |
add: "* --force" | |
cwd: "./data/SallaJson/" |