Skip to content

Commit

Permalink
chore: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwii committed Apr 27, 2023
1 parent 3967799 commit f1b4f94
Show file tree
Hide file tree
Showing 5 changed files with 462 additions and 528 deletions.
33 changes: 0 additions & 33 deletions .github-ignore/workflows/ci.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github-ignore/workflows/release.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
push:
# Pattern matched against refs/tags
tags:
- '*' # Push events to every tag not containing /
- '**' # Push events to every tag including hierarchical tags like v1.0/beta

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
with:
node-version: 18
cache: 'yarn'
registry-url: 'https://npm.pkg.github.com'
scope: '@danielwii'
- name: Install dependencies
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
yarn --inline-builds
- run: npm publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@
},
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@ant-design/pro-layout": "^7.10.3",
"@ant-design/pro-layout": "^7.12.4",
"@apollo/client": "^3.7.12",
"@apollo/server": "^4.7.0",
"@danielwii/asuna-helper": "^0.1.8",
"@danielwii/asuna-helper": "^0.1.9",
"@danielwii/asuna-shared": "^0.0.12",
"@emotion/css": "^11.10.6",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@faker-js/faker": "^7.6.0",
"@graphql-tools/load-files": "^6.6.1",
"@graphql-tools/merge": "^8.4.1",
"@mui/material": "^5.12.1",
"@mui/material": "^5.12.2",
"@mui/styles": "^5.12.0",
"@tanstack/react-query": "^4.29.3",
"@tanstack/react-query": "^4.29.5",
"@tinymce/tinymce-react": "^4.3.0",
"antd": "^5.4.4",
"antd": "^5.4.6",
"apollo": "^2.34.0",
"axios": "^1.3.6",
"bluebird": "^3.7.2",
Expand All @@ -78,7 +78,7 @@
"node-fetch": "^3.3.1",
"os": "^0.1.2",
"ow": "^1.1.1",
"prettier": "^2.8.7",
"prettier": "^2.8.8",
"qrcode.react": "^3.1.0",
"qs": "^6.11.1",
"ramda": "^0.28.0",
Expand All @@ -105,18 +105,18 @@
"react-use": "^17.4.0",
"react-viewer": "^3.2.2",
"react-visual-diff": "^0.4.3",
"rxjs": "^7.8.0",
"rxjs": "^7.8.1",
"socket.io-client": "^4.6.1",
"spinkit": "^2.0.1",
"styled-components": "^5.3.9",
"styled-components": "^5.3.10",
"styled-spinkit": "^1.1.0",
"url-join": "^5.0.0",
"video.js": "^7.21.4"
},
"devDependencies": {
"@preact/signals-react": "^1.3.1",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.53",
"@swc/core": "^1.3.55",
"@types/bluebird": "^3",
"@types/deep-diff": "^1",
"@types/jest": "^29",
Expand All @@ -128,33 +128,33 @@
"@types/react-animations": "^1",
"@types/react-color": "^3",
"@types/react-highlight": "^0",
"@types/react-is": "^17",
"@types/react-is": "^18",
"@types/react-json-editor-ajrm": "^2",
"@types/react-pdf": "^6",
"@types/react-syntax-highlighter": "^15",
"@types/styled-components": "^5",
"@types/styled-jsx": "^3",
"@types/url-join": "^4",
"@types/video.js": "^7",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"eslint": "^8.39.0",
"eslint-config-alloy": "^5.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"glob": "^10.2.1",
"glob": "^10.2.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-next-dynamic": "^1.0.1",
"less": "^4.1.3",
"lint-staged": "^13.2.1",
"lint-staged": "^13.2.2",
"pretty-quick": "^3.1.3",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"ts-morph": "^18.0.0",
"tsconfig-extends": "^1.0.1",
"typescript": "^5.0.4",
"webpack": "^5.80.0"
"webpack": "^5.81.0"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
Expand Down

0 comments on commit f1b4f94

Please sign in to comment.