Skip to content

Commit

Permalink
fix: flags ordering for china
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Apr 16, 2024
2 parents caa5e31 + 3556c3d commit 2c08a14
Show file tree
Hide file tree
Showing 11 changed files with 6,061 additions and 4,936 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release

on:
workflow_run:
workflows: ['Test']
branches: ['main', 'next']
types:
- completed

jobs:
main:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install
run: npm ci

- name: Build
run: npm run build

- run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ~/.npmrc

- name: Run npm release
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
test:
name: 'Test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 2c08a14

Please sign in to comment.