mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 10:29:48 +02:00
chore: follow-up to Yarn update (#4478)
* fix(site): `require.resolve` webpack loader * chore: add pnp sdk * ci: cache dependencies * ci: add release `version` command
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -24,6 +24,7 @@ jobs:
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
cache: yarn
|
||||
|
||||
- name: Run ${{ matrix.command }}
|
||||
run: yarn && yarn build && yarn ${{ matrix.command }}
|
||||
|
1
.github/workflows/comment.yml
vendored
1
.github/workflows/comment.yml
vendored
@@ -46,6 +46,7 @@ jobs:
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12.x
|
||||
cache: yarn
|
||||
registry-url: https://registry.npmjs.org
|
||||
|
||||
- name: Install dependencies
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -26,6 +26,7 @@ jobs:
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12.x
|
||||
cache: yarn
|
||||
registry-url: https://registry.npmjs.org
|
||||
|
||||
- name: Install dependencies
|
||||
@@ -39,6 +40,7 @@ jobs:
|
||||
if: matrix.channel == 'latest'
|
||||
uses: changesets/action@master
|
||||
with:
|
||||
version: yarn changeset version
|
||||
publish: yarn changeset publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
Reference in New Issue
Block a user