Compare commits
1 Commits
514bab1771
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
173c02b952 |
@@ -1,13 +1,17 @@
|
|||||||
name: Hello Gitea Actions
|
name: Build News-reader-pro
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Run a one-line script
|
- name: Setup Node.js
|
||||||
run: echo "Hello, Gitea Actions!"
|
uses: actions/setup-node@v4
|
||||||
- name: Run a multi-line script
|
with:
|
||||||
run: |
|
node-version: '20' # Adjust to your Node.js version
|
||||||
echo Add other actions as you wish...
|
- name: Install dependencies
|
||||||
echo Such as building your code, running tests, or deploying.
|
run: npm install
|
||||||
|
- name: Build the project
|
||||||
|
run: npm run build
|
||||||
|
- name: List build output
|
||||||
|
run: ls -la dist/
|
||||||
Reference in New Issue
Block a user