Skip to content

Commit

Permalink
chore: update deployment dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rossreicks committed Jan 17, 2024
1 parent 282a4d6 commit cea1d30
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 13,711 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,34 @@ jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- run: npm ci
- run: npm test
env:
CHANCE_SEED: ${{ secrets.CHANCE_SEED }}
node-version: 18
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test

npm-publish:
needs: build-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run build
- name: 'Semantic Release'
uses: cycjimmy/semantic-release-action@v3
id: semantic
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
branch: master
node-version: 18
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Configure Git User
run: |
git config --global user.email "[email protected]"
git config --global user.name "ci@$GITHUB_ACTOR"
- name: publish
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0
13 changes: 6 additions & 7 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- run: npm ci
- run: npm test
env:
CHANCE_SEED: ${{ secrets.CHANCE_SEED }}
node-version: 18
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test
Loading

0 comments on commit cea1d30

Please sign in to comment.