-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update deployment dependencies
- Loading branch information
1 parent
282a4d6
commit cea1d30
Showing
4 changed files
with
27 additions
and
13,711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.