Skip to content

Commit

Permalink
refactor(spritemap): update the templates
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonoff committed Apr 26, 2023
1 parent ca84623 commit 94efb03
Show file tree
Hide file tree
Showing 42 changed files with 6,739 additions and 8,144 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# This workflow will do a clean install of node dependencies and build the package
# This workflow will do a clean install of node dependencies and build the package
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ master, '[0-9]+.[0-9]+.x' ]
branches: [master, '[0-9]+.[0-9]+.x']
pull_request:
branches: [ master, '[0-9]+.[0-9]+.x' ]
branches: [master, '[0-9]+.[0-9]+.x']

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Node
uses: actions/setup-node@v2

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: '18'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

Expand All @@ -26,8 +26,8 @@ jobs:

- name: Define NPM tag
run: |
if [[ ${VERSION} == *"alpha"* || ${VERSION} == *"beta"* || ${VERSION} == *"rc"* ]]; then echo "NPM_TAG=next"; else echo "NPM_TAG=latest"; fi >> $GITHUB_ENV
echo ${NPM_TAG}
if [[ ${VERSION} == *"alpha"* || ${VERSION} == *"beta"* || ${VERSION} == *"rc"* ]]; then echo "NPM_TAG=next"; else echo "NPM_TAG=latest"; fi >> $GITHUB_ENV
echo ${NPM_TAG}
- name: Create package version
run: npm version ${VERSION} --no-git-tag-version --save --allow-same-version
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ out
# Next.js build / generate output
.nuxt
dist
!vite-plugins/svg-spritemap/dist

# Gatsby files
.cache/
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"singleQuote": true,
"arrowParens": "always"
}
Loading

0 comments on commit 94efb03

Please sign in to comment.