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

fix(deps): bump actions/setup-node from v2.1.2 to v2.1.5 #1

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions .editorconfig
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
14 changes: 5 additions & 9 deletions .eslintrc.js
Expand Up @@ -2,23 +2,19 @@ module.exports = {
root: true,
env: {
browser: true,
node: true
node: true,
},
parserOptions: {
parser: 'babel-eslint'
parser: 'babel-eslint',
},
extends: [
'@nuxtjs',
'prettier',
'prettier/vue',
'plugin:prettier/recommended',
'plugin:nuxt/recommended'
],
plugins: [
'prettier'
'plugin:nuxt/recommended',
],
plugins: ['prettier'],
// add your custom rules here
rules: {
"comma-dangle": ["error", "always-multiline"],
}
rules: {},
}
32 changes: 32 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,32 @@
version: 2
updates:
# Fetch and update latest `npm` packages
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
time: '00:00'
open-pull-requests-limit: 10
reviewers:
- tommytrg
assignees:
- tommytrg
commit-message:
prefix: fix
prefix-development: chore
include: scope
# Fetch and update latest `github-actions` pkgs
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: daily
time: '00:00'
open-pull-requests-limit: 10
reviewers:
- tommytrg
assignees:
- tommytrg
commit-message:
prefix: fix
prefix-development: chore
include: scope
40 changes: 40 additions & 0 deletions .github/workflows/deploy.yml
@@ -0,0 +1,40 @@
name: ci

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [14]

steps:
- name: Checkout
uses: actions/checkout@master

- name: Setup node env
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node }}

- name: Run deploy script
run: |
set -e

npm run generate

cd dist

echo '<domain>' > CNAME

git init
git add -A
git commit -m 'deploy'

git push -f git@github.com:tommytrg/website.git master:gh-pages
5 changes: 2 additions & 3 deletions .gitignore
@@ -1,7 +1,7 @@
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
logs
/logs
*.log
npm-debug.log*
yarn-debug.log*
Expand Down Expand Up @@ -79,12 +79,11 @@ dist

# IDE / Editor
.idea
.editorconfig

# Service worker
sw.*

# Mac OSX
# macOS
.DS_Store

# Vim swap files
Expand Down
4 changes: 1 addition & 3 deletions .prettierrc
@@ -1,6 +1,4 @@
{
"semi": false,
"arrowParens": "always",
"singleQuote": true,
"trailingComma": "es5"
"singleQuote": true
}
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

6 changes: 2 additions & 4 deletions README.md
@@ -1,10 +1,8 @@
# witnet-protocol-website

> A Witnet protocol static website
# new-website

## Build Setup

``` bash
```bash
# install dependencies
$ yarn install

Expand Down