mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-03-12 18:07:10 -04:00
28 lines
539 B
YAML
28 lines
539 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
name: Package
|
|
|
|
jobs:
|
|
check:
|
|
name: Package distribution file
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
ref: master
|
|
- name: Package
|
|
run: |
|
|
npm ci
|
|
npm test
|
|
npm run package
|
|
- name: Commit
|
|
run: |
|
|
git config --global user.name "GitHub Actions"
|
|
git add dist/
|
|
git commit -m "chore: Update dist" || echo "No changes to commit"
|
|
git push origin HEAD:master
|