Skip to content

Commit

Permalink
bump versions && upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
misa198 committed Oct 14, 2022
1 parent cad9bc2 commit 08860a3
Show file tree
Hide file tree
Showing 3 changed files with 911 additions and 1,121 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2.4.1
with:
node-version: 16.x
cache: 'yarn'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"

- name: Yarn cache
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Lint
run: yarn lint

- name: Build Chromium
run: yarn build:chromium

- name: Build Firefox
run: yarn build:firefox
51 changes: 24 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "youtube-shorts-controller",
"version": "1.0.4",
"version": "1.0.5",
"description": "Youtube Shorts Controller",
"homepage": "https://github.com/thanhvu1982/youtube-shorts-controller",
"repository": "https://github.com/misa198/youtube-shorts-controller/tree/master",
Expand All @@ -15,37 +15,34 @@
"lint:fix": "npm run lint -- --fix"
},
"devDependencies": {
"@types/capitalize": "^2.0.0",
"@types/chrome": "^0.0.179",
"@types/chrome": "^0.0.197",
"@types/firefox-webext-browser": "^94.0.1",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"copy-webpack-plugin": "^10.2.4",
"@types/node": "^18.8.5",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"eslint": "^7.24.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"css-minimizer-webpack-plugin": "^4.2.2",
"eslint": "^8.25.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"file-loader": "^6.2.0",
"html-minimizer-webpack-plugin": "^3.5.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^2.6.0",
"html-minimizer-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^2.6.1",
"path": "^0.12.7",
"prettier": "^2.2.1",
"prettier-package-json": "^2.1.3",
"sass": "^1.49.9",
"sass-loader": "^12.6.0",
"ts-loader": "^9.2.7",
"typescript": "^4.6.2",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
"prettier": "^2.7.1",
"prettier-package-json": "^2.7.0",
"sass": "^1.55.0",
"sass-loader": "^13.1.0",
"ts-loader": "^9.4.1",
"typescript": "^4.8.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"dom-loaded": "^3.0.0",
Expand Down
Loading

0 comments on commit 08860a3

Please sign in to comment.