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

Texture cache changes #47

Merged
merged 6 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:

permissions:
contents: write
packages: write

jobs:
lint-check:
Expand All @@ -39,8 +38,8 @@ jobs:
runs-on: ubuntu-latest
needs: lint-check

# only run on main branch
if: github.ref == 'DISABLE THIS JOB FOR NOW'
# Only run on main branch
if: github.ref == 'refs/heads/main'

steps:
- uses: actions/checkout@v3
Expand All @@ -52,7 +51,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: x.18
registry-url: 'https://npm.pkg.github.com'
cache: 'npm'

- name: NPM install & version
Expand All @@ -67,11 +65,11 @@ jobs:
env:
NODE_ENV: production
run: |
npm run build-bundle
npm run build-single
npm run build
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add dist-bundle
git add dist-single
git commit -m "Automated build of dist-bundle $(date -u)"

- name: Push dist-bundle back to GitHub
Expand All @@ -84,4 +82,4 @@ jobs:
run: |
npm publish --tag=pre
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
2 changes: 1 addition & 1 deletion dist-single/gsots3d.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist-single/gsots3d.js.map

Large diffs are not rendered by default.

Loading
Loading