1
0
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:
Kristoffer K
2021-09-02 13:42:45 +02:00
committed by GitHub
parent d338dcc7ce
commit 29473b0290
22 changed files with 504 additions and 4 deletions

View File

@@ -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 }}

View File

@@ -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

View File

@@ -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 }}