Skip to content

Commit

Permalink
chore: update publish yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yinkaihui committed Nov 10, 2023
1 parent cc368eb commit 8be3782
Showing 1 changed file with 31 additions and 10 deletions.
41 changes: 31 additions & 10 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,39 @@ on:
- aplha

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: yarn && yarn icon
- run: yarn test
# build:
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@master

# - name: install
# run: yarn run dependencies

# - name: setup node
# uses: actions/setup-node@v3
# with:
# node-version: 16
# cache: 'yarn'

# - name: run-icon
# run: yarn icon

# - name: mock-time
# uses: szenius/set-timezone@v1.0
# with:
# timezoneLinux: 'Asia/Singapore'
# timezoneMacos: 'Asia/Singapore'
# timezoneWindows: 'Singapore Standard Time'

# - name: test:client
# run: yarn test:client

# - name: test:node
# run: yarn test:node

publish-npm:
needs: build
# needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 8be3782

Please sign in to comment.