Skip to content

Commit

Permalink
Revert "Test ashley deno (#1)" (#3)
Browse files Browse the repository at this point in the history
This reverts commit d82f5bd.
  • Loading branch information
hello-ashleyintech authored Sep 16, 2022
1 parent d82f5bd commit 0b7b854
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/deno-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
tags:
- '@slack/web-api*'
- '!@slack/web-api*nextGen*'
- '!@slack/web-api*Beta*'
- '!@slack/web-api*beta*'

defaults:
run:
Expand All @@ -33,7 +30,17 @@ jobs:
run: |
perl -pi.bak -e 's/"tsd": {/"browser":{"os":"os-browserify","path":"path-browserify","querystring":".\/deno-shims\/qs-shim.js"},"tsd": {/g' package.json
perl -pi.bak -e 's/"axios": /"path-browserify":"1.0.1","os-browserify":"0.3.0","axios": /g' package.json
perl -pi.bak -e 's/"p-retry":/"zlib":".\/deno-shims\/zlib-shim.js","util":".\/deno-shims\/util-shim.js","p-retry":/g' package.json
- run: npm install
- run: npm run build:deno

- run: mv mod.js ../../.
- name: Commit and tag built artifact to separate branch
run: |
git config user.name slack-cicd
git config user.email [email protected]
git checkout -- package.json
git checkout deno-web-api
mv ../../mod.js .
git add mod.js
git commit -m "Adding transpiled deno ${GITHUB_REF_NAME} release artifact."
git tag "deno/${GITHUB_REF_NAME}"
git push --tags
1 change: 0 additions & 1 deletion packages/web-api/deno-shims/util-shim.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/web-api/deno-shims/zlib-shim.js

This file was deleted.

0 comments on commit 0b7b854

Please sign in to comment.