diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 0000000..223963a --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,21 @@ +name: Audit + +on: [push] + +jobs: + audit: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js + uses: actions/setup-node@v1 + + - name: Cache node_modules + uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ hashFiles('**/yarn.lock') }} + # - name: Audit dependencies + # run: yarn audit diff --git a/.github/workflows/exact-versions.yml b/.github/workflows/exact-versions.yml new file mode 100644 index 0000000..27e7321 --- /dev/null +++ b/.github/workflows/exact-versions.yml @@ -0,0 +1,23 @@ +name: Exact versions + +on: [push] + +jobs: + check-versions: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-node@v1 + + - name: Cache node_modules + uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ hashFiles('**/yarn.lock') }} + + - name: Install dependencies + run: yarn install --ignore-scripts --ignore-optional + + - name: Check exact versions + uses: ./.github/actions/check-version-lock diff --git a/.github/workflows/stacks-wallet.yml b/.github/workflows/stacks-wallet.yml index 39b94bd..b1bcbc2 100644 --- a/.github/workflows/stacks-wallet.yml +++ b/.github/workflows/stacks-wallet.yml @@ -32,6 +32,13 @@ jobs: status: STARTING color: warning + # - name: Discord notification + # env: + # DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + # uses: Ilshidur/action-discord@master + # with: + # args: 'The project {{ EVENT_PAYLOAD.repository.full_name }} has been deployed.' + - uses: lucasmotta/pull-request-sticky-header@1.0.0 with: header: '> _Currently building new release, please wait for the latest_  ' @@ -194,7 +201,7 @@ jobs: - name: Download distributables uses: actions/download-artifact@v2 with: - path: dist/ + path: release/ - name: Semantic Release uses: cycjimmy/semantic-release-action@v2.5.3 @@ -211,7 +218,7 @@ jobs: @semantic-release/git semantic-release-slack-bot - # Notify Slack channel of workflow end + # Notify Discord channel of workflow end notify-end: runs-on: ubuntu-latest needs: diff --git a/package.json b/package.json index 5c114e1..0580b7c 100644 --- a/package.json +++ b/package.json @@ -108,19 +108,19 @@ { "assets": [ { - "path": "dist/**/*.msi", + "path": "release/**/*.msi", "label": "Windows distribution" }, { - "path": "dist/**/*.dmg", + "path": "release/**/*.dmg", "label": "OSX distribution" }, { - "path": "dist/**/*.rpm", + "path": "release/**/*.rpm", "label": "Linux distribution" }, { - "path": "dist/**/*.deb", + "path": "release/**/*.deb", "label": "Debian distribution" } ] @@ -340,4 +340,4 @@ "bliss" ] } -} \ No newline at end of file +}