Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
1997roylee committed Feb 27, 2023
1 parent 9f54143 commit b412f74
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 43 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: "pre-release"

on:
push:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn install
- run: yarn lint

build:
needs: [lint]
name: "Pre Release"
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.17
- run: yarn install
- run: yarn build

42 changes: 0 additions & 42 deletions .github/workflows/pre-release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: "pre-release"
name: "release"

on:
push:
Expand Down

0 comments on commit b412f74

Please sign in to comment.