Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test actions #144

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/buildFiles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on: push

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v1

- name: Setup node
uses: actions/setup-node@v1
with:
version: 12

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Dist
run: npm run dist

- name: Commit changed files
uses: stefanzweifel/git-auto-commit-action@master
with:
commit_message: 📦 Build dist
branch: ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion src/scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Factory, srOnlyStyle } from './utils.js'
class Scene {

/**
* A scene object for organizing a group of objects that will update and render together.
* A scene object for organizing a group of objects that will update and render together foobar.
*
* ```js
* import { Scene, Sprite } from 'kontra';
Expand Down