Skip to content

Commit

Permalink
Publish some page
Browse files Browse the repository at this point in the history
  • Loading branch information
pomianowski committed Jun 15, 2024
1 parent 3ce8d73 commit b7ce5ab
Show file tree
Hide file tree
Showing 72 changed files with 40,065 additions and 42 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BROWSER=none
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Install Dependencies
run: npm ci

- name: Build
run: npm run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: './page/'
path: './build/'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# composer
/vendor

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
15 changes: 15 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"tabWidth": 2,
"printWidth": 80,
"trailingComma": "all",
"arrowParens": "avoid",
"htmlWhitespaceSensitivity": "ignore",
"proseWrap": "never",
"parser": "babel-ts",
"semi": true,
"singleQuote": true,
"jsxSingleQuote": false,
"useTabs": false,
"bracketSameLine": true,
"bracketSpacing": true
}
Empty file added README.md
Empty file.
Empty file added composer.json
Empty file.
12 changes: 12 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//const path = require("path");
const { SubresourceIntegrityPlugin } = require('webpack-subresource-integrity');

module.exports = function override(config, env) {
config.target = 'web';
config.mode = 'production';
config.output.crossOriginLoading = 'anonymous';

//config.plugins.push(new SubresourceIntegrityPlugin());

return config;
};
Loading

0 comments on commit b7ce5ab

Please sign in to comment.