Skip to content

Commit

Permalink
simplify cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Jul 13, 2024
1 parent 5cce7d1 commit c884622
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 35 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/docs.yml

This file was deleted.

21 changes: 9 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,20 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20.x]
steps:
- uses: actions/checkout@v3
- name: Install Node.js ${{ matrix.node }}
- name: Install Node.js 20
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: 20.x
- name: Install
run: npm install
- name: Test
env:
TWITTER_USERNAME: ${{ secrets.TWITTER_USERNAME }}
TWITTER_PASSWORD: ${{ secrets.TWITTER_PASSWORD }}
TWITTER_EMAIL: ${{ secrets.TWITTER_EMAIL }}
TWITTER_COOKIES: ${{ secrets.TWITTER_COOKIES }}
run: npm run test
# - name: Test
# env:
# TWITTER_USERNAME: ${{ secrets.TWITTER_USERNAME }}
# TWITTER_PASSWORD: ${{ secrets.TWITTER_PASSWORD }}
# TWITTER_EMAIL: ${{ secrets.TWITTER_EMAIL }}
# TWITTER_COOKIES: ${{ secrets.TWITTER_COOKIES }}
# run: npm run test
- name: Build
run: npm run build

0 comments on commit c884622

Please sign in to comment.