feat: test gitea actions with a real build!
All checks were successful
Build and test / Build (push) Successful in 2m10s
All checks were successful
Build and test / Build (push) Successful in 2m10s
This commit is contained in:
30
web/.gitignore
vendored
Normal file
30
web/.gitignore
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
.DS_Store
|
||||
dist
|
||||
dist-ssr
|
||||
coverage
|
||||
*.local
|
||||
|
||||
/cypress/videos/
|
||||
/cypress/screenshots/
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
.idea
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
*.tsbuildinfo
|
22
web/Makefile
Normal file
22
web/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
.PHONY: all
|
||||
all: add-copyright format lint build test
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
@npm run build
|
||||
|
||||
.PHONY: format
|
||||
format: # format code.
|
||||
@npm run format
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
@npm run lint
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
@npm run test:unit run
|
||||
|
||||
.PHONY: add-copyright
|
||||
add-copyright: # add license to file headers.
|
||||
@addlicense -v -f ../LICENSE ./src --skip-files=database.yml
|
Reference in New Issue
Block a user