Skip to content

Commit

Permalink
🖼️ Texture cache changes
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-uk authored Feb 26, 2024
1 parent 9d253c6 commit fbdace4
Show file tree
Hide file tree
Showing 8 changed files with 1,818 additions and 476 deletions.
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

0 comments on commit fbdace4

Please sign in to comment.