Skip to content

Commit

Permalink
Merge pull request #8 from xmtp/beta
Browse files Browse the repository at this point in the history
Initial Snap Release
  • Loading branch information
neekolas authored Jul 14, 2023
2 parents baee626 + c468154 commit 3d721b5
Show file tree
Hide file tree
Showing 34 changed files with 18,752 additions and 35,778 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,17 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Get Yarn cache directory
run: echo "::set-output name=YARN_CACHE_DIR::$(yarn cache dir)"
id: yarn-cache-dir
- name: Get Yarn version
run: echo "::set-output name=YARN_VERSION::$(yarn --version)"
id: yarn-version
- name: Cache yarn dependencies
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.YARN_CACHE_DIR }}
key: yarn-cache-${{ runner.os }}-${{ steps.yarn-version.outputs.YARN_VERSION }}-${{ hashFiles('yarn.lock') }}
- run: yarn install --immutable
- run: yarn build
- run: yarn lint
- run: yarn test
- run: npm ci
- run: npm run build
- run: npm run lint
- run: npm run test
all-jobs-pass:
name: All jobs pass
runs-on: ubuntu-20.04
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/create-release-pr.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/publish-release.yml

This file was deleted.

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:
push:
branches:
- main
- beta
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
issues: write
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Use latest NPM
# Ensure we are using the latest version of NPM to get support for provenance
run: npm i -g npm
- name: Install dependencies
working-directory: packages/snap
run: npm ci
- name: Release
working-directory: packages/snap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

786 changes: 0 additions & 786 deletions .yarn/releases/yarn-3.2.1.cjs

This file was deleted.

7 changes: 0 additions & 7 deletions .yarnrc.yml

This file was deleted.

9 changes: 0 additions & 9 deletions CHANGELOG.md

This file was deleted.

File renamed without changes.
201 changes: 0 additions & 201 deletions LICENSE.APACHE2

This file was deleted.

Loading

0 comments on commit 3d721b5

Please sign in to comment.