Skip to content

Commit

Permalink
fix: upgrade actions/checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefilter committed Dec 17, 2024
1 parent 87ea747 commit 3c6c8bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
cypress:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- uses: actions/checkout@v4
- run: cksum src/components/DLViewer.vue
- uses: actions/setup-node@v3
with:
node-version: 16
Expand All @@ -24,7 +25,7 @@ jobs:
# needs: cypress
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
Expand All @@ -51,6 +52,8 @@ jobs:
fi
- run: npm install && npm run build
if: env.DESTINATION_DIR
- run: ls -R dist
if: env.DESTINATION_DIR
- name: deploy
if: env.DESTINATION_DIR
uses: jakejarvis/s3-sync-action@be0c4ab89158cac4278689ebedd8407dd5f35a83
Expand Down
8 changes: 1 addition & 7 deletions src/components/DLViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,7 @@ export default {
const iiifServicePath = this.isV3Manifest ?
"iiif_manifest.items[0].items[0].items[0].body.service" :
"iiif_manifest.sequences[0].canvases[0].images[0].resource.service"
console.log(this.isV3Manifest, iiifServicePath, _get(this, iiifServicePath))
const parts = iiifServicePath.split(".")
for (let i = 0; i < parts.length - 1; i++) {
let path = parts.slice(0, i + 1).join(".")
console.log(path, _get(this, path))
}
console.log(_has(this, iiifServicePath), _get(this, iiifServicePath))
return _has(this, iiifServicePath)
},
isChoice() {
Expand Down Expand Up @@ -136,7 +131,6 @@ export default {
}
},
viewer() {
console.log(this.isSinaiPalimpsest, this.isSinai, this.isCollection, this.isVideo, this.isSound, this.isImage, this.hasIiifService)
return (
this.isSinaiPalimpsest ? "MiradorPalimpsest" :
this.isSinai ? "Mirador" :
Expand Down

0 comments on commit 3c6c8bb

Please sign in to comment.